MapWinGeoProc:ClipPolyWithLine Fast ClipPolygonWithLine1

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy



 bool Fast_ClipPolygonWithLine(ref MapWinGIS.Shape polygon, ref MapWinGIS.Shape line, ref MapWinGIS.Shapefile resultSF)


For faster clipping of polygons with lines. Limits the finding of intersections to
outside->inside or inside->outside 2pt segments. Assumes only one intersections exists
per segment, that a segment of two inside points or two outside points will not intersect
the polygon.


polygon The polygon that will be sectioned by the line.
line The line that will clip the polygon into multiple parts.
resultSF The in-memory shapefile where the polygon sections will be saved.


False if errors are encountered, true otherwise.

Visual Basic Net 2005 Example Implementation Code
Visual C# 2005 Example Implementation Code
Back to Fast_ClipPolygonWithLine

Retrieved from ""

This page has been accessed 564 times. This page was last modified on 26 June 2006, at 19:07.