<?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: Polygon from IPointCollection in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/polygon-from-ipointcollection/m-p/518130#M13980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;all lines in a polygon must define either an outer or an inner ring.&amp;nbsp; The red line defines neither and is therefor removed during simplify.&amp;nbsp; An easy way to see if it will work is to try it in ArcMap.&amp;nbsp; Make a polygon that snaps back to itself in two consecutive vertices like your diagram.&amp;nbsp; The result is a straight donut polygon.&amp;nbsp; I think the only way to make something that looks like what you have is to introduce a small gap at position X.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 May 2010 14:19:04 GMT</pubDate>
    <dc:creator>AlexanderGray</dc:creator>
    <dc:date>2010-05-27T14:19:04Z</dc:date>
    <item>
      <title>Polygon from IPointCollection</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/polygon-from-ipointcollection/m-p/518129#M13979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a query regarding the creation of a polygon from an IPointCollection (see attached).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have 2 IPolylines (A and B) that are closed circles.&amp;nbsp; A is created via ConstructOffset of B.&amp;nbsp; Both A and B have IPointCollections that start and finish at X and vertices that travel in a clockwise direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My aim is to create a polygon out of these two lines by the insertion of the red line at C.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My thinking is that the vertices in boundary of the new Polygon should start at X and travel clockwise around A, back to X.&amp;nbsp; Then down the red line and anticlockwise around B until reaching the redline and back up to X.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have reversed the orientation of the vertices in IPointCollection B and added both A and B IPointCollections to a new Polygon point collection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I get a solid donut polygon with a hole, the red line seems to be ignored.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any assistance appreciated...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nigel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 13:58:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/polygon-from-ipointcollection/m-p/518129#M13979</guid>
      <dc:creator>NigelTait</dc:creator>
      <dc:date>2010-05-27T13:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon from IPointCollection</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/polygon-from-ipointcollection/m-p/518130#M13980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;all lines in a polygon must define either an outer or an inner ring.&amp;nbsp; The red line defines neither and is therefor removed during simplify.&amp;nbsp; An easy way to see if it will work is to try it in ArcMap.&amp;nbsp; Make a polygon that snaps back to itself in two consecutive vertices like your diagram.&amp;nbsp; The result is a straight donut polygon.&amp;nbsp; I think the only way to make something that looks like what you have is to introduce a small gap at position X.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 14:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/polygon-from-ipointcollection/m-p/518130#M13980</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2010-05-27T14:19:04Z</dc:date>
    </item>
  </channel>
</rss>

