MapWinGeoProc:SpatialOperations ClipShapesWithPolygon3

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

ClipShapesWithPolygon

Syntax

 bool ClipShapesWithPolygon(ref MapWinGIS.Shapefile inputSF, ref MapWinGIS.Shape polygon, ref MapWinGIS.Shapefile resultSF)

Summary

Returns all points/lines/polygons inside the polygon's border as a new shapefile (in memory).

Parameters

inputSF Input shapefile of lines, points, or polygons in need of clipping.
polygon 2D polygon shape used for clipping the shapefile.
resultSF Output polygon shapefile which will contain all shapes that fall inside the boundaries of poly.

Returns

True if clipping was successful, false if an error occured.

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

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

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