MapWinGeoProc:Buffer BufferPolygon

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

BufferPolygon

Syntax

 bool BufferPolygon(ref MapWinGIS.Shape polygon, System.Double distance, MapWinGeoProc.Enumerations.Buffer_HoleTreatment holeTreatment, MapWinGeoProc.Enumerations.Buffer_CapStyle capStyle, int numQuadrants, ref MapWinGIS.Shape resultShp)

Summary

Creates a buffer shape around the polygon.

Parameters

polygon The polygon to be buffered.
distance Positive or negative value for buffer distance.
holeTreatment How holes are to be treated. 0 == ignore, 1 == opposite, 2 == same
capStyle Edge treatment. 0 = pointed, 1 = rounded.
numQuadrants Smoothness of curves.
resultShp The resulting buffer shape.

Returns

False if an error was encountered, true otherwise.

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

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

This page has been accessed 1,350 times. This page was last modified on 26 June 2006, at 15:52.