<?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 Finding the segment of a point on a polyline in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275088#M7038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a polyline geometry and a certain point on the polyline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to find the index of the polyline segment that the point belongs to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Dec 2010 09:38:54 GMT</pubDate>
    <dc:creator>orsela</dc:creator>
    <dc:date>2010-12-15T09:38:54Z</dc:date>
    <item>
      <title>Finding the segment of a point on a polyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275088#M7038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a polyline geometry and a certain point on the polyline.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to find the index of the polyline segment that the point belongs to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best way to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 09:38:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275088#M7038</guid>
      <dc:creator>orsela</dc:creator>
      <dc:date>2010-12-15T09:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the segment of a point on a polyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275089#M7039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Orsela,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The way I would have done this is use the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ISegmentCollection&lt;/SPAN&gt;&lt;SPAN&gt; and it's property &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Segment&lt;/SPAN&gt;&lt;SPAN&gt; to loop over the collection of &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ISegments&lt;/SPAN&gt;&lt;SPAN&gt; then use something like &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;IProximityOperator&lt;/SPAN&gt;&lt;SPAN&gt; to test if the point intersects the segment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well that's how I would have done it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 12:48:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275089#M7039</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2010-12-15T12:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the segment of a point on a polyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275090#M7040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use IHitTest.&amp;nbsp; One of the return parameters of the HitTest method is the segment index.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 15:31:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275090#M7040</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2010-12-15T15:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the segment of a point on a polyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275091#M7041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 19:36:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275091#M7041</guid>
      <dc:creator>orsela</dc:creator>
      <dc:date>2010-12-15T19:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the segment of a point on a polyline</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275092#M7042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Neil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;IHitTest&lt;/SPAN&gt;&lt;SPAN&gt;... never knew about this Interface, ArcObjects just keeps on giving!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Dec 2010 09:34:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/finding-the-segment-of-a-point-on-a-polyline/m-p/275092#M7042</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2010-12-16T09:34:08Z</dc:date>
    </item>
  </channel>
</rss>

