ProcessPartInAndOut(ref System.Boolea insidePts, ref MapWinGIS.Shape line, ref MapWinGIS.Shape polygon, ref MapWinGIS.Shapefile resultSF)


Given a line that contains portions both inside and outside of the polygon, this function will split the polygon based only on the segments that completely bisect the polygon. The possibility of mutliple intersections for any 2pt segment is taken into account.


Name Description
insidePts A boolean array indicating if a point is inside the polygon or not.
line The line that intersects the polygon.
polygon The polygon that will be split by the intersecting line.
resultSF The shapefile that the polygon sections will be saved to.


False if errors were encountered or an assumption violated, true otherwise.

Last edited Jan 3, 2011 at 1:16 AM by gngdowid, version 1


No comments yet.