BufferLine

Syntax

BufferLine(ref MapWinGIS.Shape line, double distance, MapWinGeoProc.Enumerations.Buffer_LineSide buffSide, MapWinGeoProc.Enumerations.Buffer_CapStyle capStyle, MapWinGeoProc.Enumerations.Buffer_EndCapStyle endCapStyle, int numQuadrants, ref MapWinGIS.Shape resultShp)

Summary

Creates a buffer around a line shape.

Parameters

Name Description
line The line to be buffered.
distance Distance (in units) from the line at which the buffer should be created.
buffSide Which side of the line to buffer. 0 = both, 1 = left, 2 = right.
capStyle Edge treatement. 0 = pointed, 1 = rounded.
endCapStyle End treatment. 0 = pointed, 1 = rounded, 2 = closed (for polygons only!)
numQuadrants Smoothness of rounded caps. Smaller value = smoother circle.
resultShp The resulting polygon buffer.

Returns

False if an error was encountered, true otherwise.

Last edited Jan 1, 2011 at 4:09 AM by gngdowid, version 1

Comments

No comments yet.