MapWinGeoProc:ClipLineSFWithPoly Fast ProcessPartInAndOutPoints

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_ProcessPartInAndOutPoints(ref System.Boolean[] insidePts, ref MapWinGIS.Shape line, ref MapWinGIS.Shape polygon, ref MapWinGIS.Shapefile resultSF)


Divides a line containing both inside and outside polygon points into multiple 2pt segments.
Calculates intersecetions and finds the portions of the line that are within the polygon.


insidePts Boolean array signifying which points lie within the polygon (true), or outside of it (false).
line The line that being tested for internal segments.
polygon The polygon that may contain portions of the line.
resultSF The result shapefile that inside line portions will be saved to.


False if an error was encountered, true otherwise.

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

Retrieved from ""

This page has been accessed 880 times. This page was last modified on 26 June 2006, at 15:16.