Hi,
How can I split polyline at its vertices?
There is SplitLine tools in geoprocessing, but generate geoprocessing object and execute it is slow.
Is there any other way to split?
Thanks.
Insu
IPolyline plConvexHullLine = (IPolyline)igConvexHullLine; for (int e = 0; e < pcVertices.PointCount; e++) { IPoint ptIn = pcVertices.get_Point(e); int f; int g; Boolean k; plConvexHullLine.SplitAtPoint(ptIn, false, true, out k, out f, out g); }
Yes. I tried, but failed.
Here's my code for that.IPolyline plConvexHullLine = (IPolyline)igConvexHullLine; for (int e = 0; e < pcVertices.PointCount; e++) { IPoint ptIn = pcVertices.get_Point(e); int f; int g; Boolean k; plConvexHullLine.SplitAtPoint(ptIn, false, true, out k, out f, out g); }
is there any problem with my code?