<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to retrieve Circle from SketchViewModel in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-circle-from-sketchviewmodel/m-p/724081#M67223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a Circle geometry on documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/494162_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a subclass of polygon but I don`t understand why &lt;SPAN style="background-color: #ffffff;"&gt;SketchViewModel returns a polyon with lots of points instead of a Circle when drawing tool is set to 'circle'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks for the response, I will try to compute this distance!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2020 11:25:01 GMT</pubDate>
    <dc:creator>RafaelFreitas</dc:creator>
    <dc:date>2020-06-02T11:25:01Z</dc:date>
    <item>
      <title>How to retrieve Circle from SketchViewModel</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-circle-from-sketchviewmodel/m-p/724079#M67221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using SketchViewModel to create geometries into my Scene View. It seems to be working fine, however I&amp;nbsp;´ve noticed that when using the tool to draw a circle the graphic on the "create" event is a Polygon. It consists of one ring with many points on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I needed to get the radius and center point of this created geometry. I can get the center of it, but since it´s a polygon i couldn´t find the radius of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is any way of converting this polygon to a circle? Or to retrieve a Circle geometry when using 'circle' as drawing tool? Or should I just use another strategy for drawing circles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 19:49:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-circle-from-sketchviewmodel/m-p/724079#M67221</guid>
      <dc:creator>RafaelFreitas</dc:creator>
      <dc:date>2020-06-01T19:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve Circle from SketchViewModel</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-circle-from-sketchviewmodel/m-p/724080#M67222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's no circle geometry type in the API. If necessary, one option is to call the geometryEngine to get the distance between the center and any one of the points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 00:16:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-circle-from-sketchviewmodel/m-p/724080#M67222</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2020-06-02T00:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve Circle from SketchViewModel</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-circle-from-sketchviewmodel/m-p/724081#M67223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a Circle geometry on documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/494162_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is a subclass of polygon but I don`t understand why &lt;SPAN style="background-color: #ffffff;"&gt;SketchViewModel returns a polyon with lots of points instead of a Circle when drawing tool is set to 'circle'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks for the response, I will try to compute this distance!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 11:25:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-circle-from-sketchviewmodel/m-p/724081#M67223</guid>
      <dc:creator>RafaelFreitas</dc:creator>
      <dc:date>2020-06-02T11:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve Circle from SketchViewModel</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-circle-from-sketchviewmodel/m-p/724082#M67224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct, it's just a Polygon and &lt;EM&gt;not&lt;/EM&gt; a different type of geometry; this means it will always be just 'lots of points'.&amp;nbsp; The way I like to think of it is that the Circle class facilitates and simplifies how those points get created, just like the sketch related tools. The only additional benefit of returning a Circle instead of a Polygon would be to have some of the Circle specific properties, but it wouldn't change the underlying list of points as those would be exactly the same for both the Circle or Polygon. This sounds like a good enhancement request or&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/community/arcgis-ideas"&gt;ArcGIS Ideas&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 17:25:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-retrieve-circle-from-sketchviewmodel/m-p/724082#M67224</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2020-06-02T17:25:46Z</dc:date>
    </item>
  </channel>
</rss>

