Fast_ClipPolygonWithLine

Syntax

Fast_ClipPolygonWithLine(ref MapWinGIS.Shape polygon, ref MapWinGIS.Shape line, ref string resultSFPath)

Summary

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.

Parameters

Name Description
polygon The polygon that will be sectioned by the line.
line The line that will clip the polygon into multiple parts.
resultSFPath The path to the file where the polygon sections will be saved.

Returns

False if errors are encountered, true otherwise.

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

Comments

No comments yet.