<?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: ISegmentCollection QuerySegments vs IGeometryBridge QuerySegments VB.NET in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/isegmentcollection-querysegments-vs/m-p/335247#M8795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks ... good explanation!!! Will work on this ... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Sep 2010 06:03:15 GMT</pubDate>
    <dc:creator>tonydavid</dc:creator>
    <dc:date>2010-09-02T06:03:15Z</dc:date>
    <item>
      <title>ISegmentCollection QuerySegments vs IGeometryBridge QuerySegments VB.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/isegmentcollection-querysegments-vs/m-p/335245#M8793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ISegmentCollection.QuerySegments method is now replaced with IGeometryBridge.QuerySegments method for .NET&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both have different methods and results!!! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am just trying to convert this 2 lines ... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pOrigSegs.QuerySegments(lNoHitStart, lNoHitCount - 1, pOutSegs(0))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;m_pSegmentCollectionFrmNewGeom.AddSegments(lNoHitCount - 1, pOutSegs(0))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone faced same issue? Any ideas? No sample for VB.NET in Help ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 05:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/isegmentcollection-querysegments-vs/m-p/335245#M8793</guid>
      <dc:creator>tonydavid</dc:creator>
      <dc:date>2010-08-31T05:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: ISegmentCollection QuerySegments vs IGeometryBridge QuerySegments VB.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/isegmentcollection-querysegments-vs/m-p/335246#M8794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The method on ISegmentCollection takes the start index, the number of segments to return, and an array which gets populated with the returned segments.&amp;nbsp; The method on IGeometryBridge takes in the segment collection you want to query, the start index, and the array to populate with the results.&amp;nbsp; As shown in the C# example, you specify how many segments you want returned by dimensioning the output array to that number and initializing each index position.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is done this way because the old method on ISegmentCollection uses a C-style array, meaning it is expected that all index positions in the array are sequential in memory.&amp;nbsp; Not all languages implement arrays in this manner.&amp;nbsp; These languages allow index positions to be anywhere in memory (implemented more like a linked list than a sequential memory block).&amp;nbsp; This is why the method on IGeometryBridge requires you to initialize each index position within the output array.&amp;nbsp; The array defines where each index position resides in memory and all the method does is update the object instance at each position.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 12:17:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/isegmentcollection-querysegments-vs/m-p/335246#M8794</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2010-08-31T12:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: ISegmentCollection QuerySegments vs IGeometryBridge QuerySegments VB.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/isegmentcollection-querysegments-vs/m-p/335247#M8795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks ... good explanation!!! Will work on this ... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 06:03:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/isegmentcollection-querysegments-vs/m-p/335247#M8795</guid>
      <dc:creator>tonydavid</dc:creator>
      <dc:date>2010-09-02T06:03:15Z</dc:date>
    </item>
  </channel>
</rss>

