<?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: Detect if the line segment is of type &amp;quot;ICurve&amp;quot; in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703586#M18847</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You'll have to loop through the segment collection of each feature's geometry.&amp;nbsp; Use TypeOf (VB.NET) or Is (C#) to see if a segment implements one of the interfaces associated with curves (i.e. ICircularArc, IEllipticArc, etc).&amp;nbsp; Unless they've added some new types recently, pretty much anything that isn't a Line is a curve of some type.&amp;nbsp; So, you could just test the segment to see if it isn't ILine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jan 2014 14:34:36 GMT</pubDate>
    <dc:creator>NeilClemmons</dc:creator>
    <dc:date>2014-01-13T14:34:36Z</dc:date>
    <item>
      <title>Detect if the line segment is of type &amp;quot;ICurve&amp;quot;</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703585#M18846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using ArcGIS 10.1, and I have polyline feature Class, some of it's features have curves in it, how can I detect these features?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 12:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703585#M18846</guid>
      <dc:creator>HaythamAbdel-Rahman</dc:creator>
      <dc:date>2014-01-13T12:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Detect if the line segment is of type "ICurve"</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703586#M18847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You'll have to loop through the segment collection of each feature's geometry.&amp;nbsp; Use TypeOf (VB.NET) or Is (C#) to see if a segment implements one of the interfaces associated with curves (i.e. ICircularArc, IEllipticArc, etc).&amp;nbsp; Unless they've added some new types recently, pretty much anything that isn't a Line is a curve of some type.&amp;nbsp; So, you could just test the segment to see if it isn't ILine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 14:34:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703586#M18847</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2014-01-13T14:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Detect if the line segment is of type "ICurve"</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703587#M18848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure it's that easy to just test whether it implements ICurve.&amp;nbsp; You can see that even ILine implements ICurve.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Neil suggested, you might want to test for the types of Curves you think your polyline featureclass contains.&amp;nbsp; You will have test each feature in your featureclass.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]30454[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 15:27:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703587#M18848</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-01-13T15:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Detect if the line segment is of type "ICurve"</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703588#M18849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What if you got the first and last points in the segment and created a new line segment then tested whether any of the middle points intersect that line?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[edit]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That won't work either, depending on how the feature was digitzed.&amp;nbsp; I'm no help. &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>Mon, 13 Jan 2014 15:41:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703588#M18849</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-01-13T15:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Detect if the line segment is of type "ICurve"</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703589#M18850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The easier way to check is to cast each feature into a segment collection then use the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/HasNonLinearSegments_Method/002m00000360000000/"&gt;ISegmentCollection.HasNonLinearSegments&lt;/A&gt;&lt;SPAN&gt; Method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 16:08:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703589#M18850</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-01-13T16:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Detect if the line segment is of type "ICurve"</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703590#M18851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sean,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would the ITopologicalOperater isSimple() give you the same result?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 16:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703590#M18851</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2014-01-13T16:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Detect if the line segment is of type "ICurve"</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703591#M18852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Would the ITopologicalOperater isSimple() give you the same result?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Not really in this case. isSimple will just tell you if a geometry is topological correct regardless of the geometry type, whereas the original question was more about 'does my feature have any curves in it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 16:45:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703591#M18852</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-01-13T16:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Detect if the line segment is of type "ICurve"</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703592#M18853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot guys for the two solutions, i'll try both and tell you the results. Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 03:40:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703592#M18853</guid>
      <dc:creator>HaythamAbdel-Rahman</dc:creator>
      <dc:date>2014-01-14T03:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Detect if the line segment is of type "ICurve"</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703593#M18854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to know which type of curve in your geometry, get the GeometryType property of ISegment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 22:31:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/detect-if-the-line-segment-is-of-type-amp-quot/m-p/703593#M18854</guid>
      <dc:creator>WeifengHe</dc:creator>
      <dc:date>2014-01-14T22:31:51Z</dc:date>
    </item>
  </channel>
</rss>

