MapWinGeoProc:SpatialOperations ClipShapesWithPolygon4

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, System.Boolean speedOptimized)

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.
speedOptimized True if speed of computation is more important than accuracy when dealing with line shapefiles.

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_ClipShapesWithPolygon4"

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