<?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 get all points of polygon geometry in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/get-all-points-of-polygon-geometry/m-p/1058899#M10086</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to get all points of a polygon geometry.&lt;/P&gt;&lt;P&gt;I can't get it to work.&lt;/P&gt;&lt;P&gt;I try:&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.Geometry.Polygon polygon = (Esri.ArcGISRuntime.Geometry.Polygon)Esri.ArcGISRuntime.Geometry.Geometry.FromJson(geoJson);&lt;/P&gt;&lt;P&gt;But Polygon do not has Rings property or similar to obtain point list.&lt;/P&gt;&lt;P&gt;Thanks !!&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 11:53:32 GMT</pubDate>
    <dc:creator>geopamplona</dc:creator>
    <dc:date>2021-05-18T11:53:32Z</dc:date>
    <item>
      <title>get all points of polygon geometry</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/get-all-points-of-polygon-geometry/m-p/1058899#M10086</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to get all points of a polygon geometry.&lt;/P&gt;&lt;P&gt;I can't get it to work.&lt;/P&gt;&lt;P&gt;I try:&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.Geometry.Polygon polygon = (Esri.ArcGISRuntime.Geometry.Polygon)Esri.ArcGISRuntime.Geometry.Geometry.FromJson(geoJson);&lt;/P&gt;&lt;P&gt;But Polygon do not has Rings property or similar to obtain point list.&lt;/P&gt;&lt;P&gt;Thanks !!&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 11:53:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/get-all-points-of-polygon-geometry/m-p/1058899#M10086</guid>
      <dc:creator>geopamplona</dc:creator>
      <dc:date>2021-05-18T11:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: get all points of polygon geometry</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/get-all-points-of-polygon-geometry/m-p/1058906#M10087</link>
      <description>&lt;P&gt;Polygons (and Polylines) are made up of collection of Parts.&amp;nbsp; So each ring will be a Part in the Part array&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var polygon = (Polygon)Geometry.FromJson(polyJson);
foreach (var part in polygon.Parts)
{
   // do something with the part
   // part is an IEnumerable of segments
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 12:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/get-all-points-of-polygon-geometry/m-p/1058906#M10087</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2021-05-18T12:40:50Z</dc:date>
    </item>
  </channel>
</rss>

