MapWinGeoProc:SpatialOperations ClipPolygonWithLine3

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 ClipPolygonWithLine(ref MapWinGIS.Shape polygon, ref MapWinGIS.Shape line, ref string resultSFPath, System.Boolean speedOptimized)


Divides a polygon into multiple sections depending on where a line crosses it. Saves the resulting
polygon sections to a new polygon shapefile.


polygon The polygon to be divided.
line The line that will be used to divide the polgyon.
resultSFPath The full path to where the resulting polygons should be saved.
speedOptimized True if a line follows the assumption that only one intersection
occurs for any 2pt segment. And only 2pt segments that have a point inside->outside or outside->inside
will be tested for interesection.


False if an error was encountered, true otherwise.

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

Retrieved from ""

This page has been accessed 527 times. This page was last modified on 26 June 2006, at 18:59.