Class BufferCurveSetBuilder
- Namespace
- NetTopologySuite.Operation.Buffer
- Assembly
- NetTopologySuite.dll
Creates all the raw offset curves for a buffer of a Geometry
.
Raw curves need to be noded together and polygonized to form the final buffer area.
public class BufferCurveSetBuilder
- Inheritance
-
BufferCurveSetBuilder
- Inherited Members
Constructors
BufferCurveSetBuilder(Geometry, double, PrecisionModel, BufferParameters)
public BufferCurveSetBuilder(Geometry inputGeom, double distance, PrecisionModel precisionModel, BufferParameters parameters)
Parameters
inputGeom
GeometryThe input geometry
distance
doubleThe offset distance
precisionModel
PrecisionModelA precision model
parameters
BufferParametersThe buffer parameters
Properties
InvertOrientation
Gets or sets a value indicating whether the offset curve is generated using the inverted orientation of input rings. This allows generating a buffer(0) polygon from the smaller lobes of self-crossing rings.
public bool InvertOrientation { get; set; }
Property Value
Methods
GetCurves()
Computes the set of raw offset curves for the buffer. Each offset curve has an attached {Label} indicating its left and right location.
public IList<ISegmentString> GetCurves()
Returns
- IList<ISegmentString>
A Collection of SegmentStrings representing the raw buffer curves.