I have a self intersected polyline, how can I break it into 5 records stored in the same table using arcobjects? (splited by vertices and the intersection point)
Here is what I have got and it doesn't change a thing:
IFeatureCursor mFeatureCursor = mFeatureClass.Search(null, false);
IFeature lineFeature = mFeatureCursor.NextFeature();
while (lineFeature != null)
{
IPolyline polyline = lineFeature.Shape as IPolyline;
ITopologicalOperator2 topoop = polyline as ITopologicalOperator2;
topoop.IsKnownSimple_2 = false;
topoop.Simplify();
lineFeature = mFeatureCursor.NextFeature();
}