MapWinGeoProc:ClipPolyWithLine SectionPolygonWithLine

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

SectionPolygonWithLine

Syntax

 bool SectionPolygonWithLine(ref MapWinGIS.Shape line, ref MapWinGIS.Shape polygon, int polyStart, int polyEnd, ref MapWinGIS.Shapefile resultSF)

Summary

Sections a polygon into multiple parts depending on where line crosses it and if previous sectioning has occured.

Parameters

line The line that splits the polygon. First and last points are intersect points.
polygon The polygon that is to be split by the line.
polyStart Index to polygon segment where the first intersect point is found.
polyEnd Index to polygon segment where last intersect point is found.
resultSF Reference to result shapefile where new polygon sections will be saved.

Returns

False if an error occurs, true otherwise.

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

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGeoProc:ClipPolyWithLine_SectionPolygonWithLine"

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