Class BufferCurveSetBuilder
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.
Inherited Members
Namespace: NetTopologySuite.Operation.Buffer
Assembly: NetTopologySuite.dll
Syntax
public class BufferCurveSetBuilder
Constructors
| Edit this page View SourceBufferCurveSetBuilder(Geometry, double, PrecisionModel, ElevationModel, BufferParameters)
Declaration
public BufferCurveSetBuilder(Geometry inputGeom, double distance, PrecisionModel precisionModel, ElevationModel em, BufferParameters parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | inputGeom | The input geometry |
| double | distance | The offset distance |
| PrecisionModel | precisionModel | A precision model |
| ElevationModel | em | An elevation model model. May be |
| BufferParameters | parameters | The buffer parameters |
BufferCurveSetBuilder(Geometry, double, PrecisionModel, BufferParameters)
Declaration
public BufferCurveSetBuilder(Geometry inputGeom, double distance, PrecisionModel precisionModel, BufferParameters parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | inputGeom | The input geometry |
| double | distance | The offset distance |
| PrecisionModel | precisionModel | A precision model |
| BufferParameters | parameters | The buffer parameters |
Properties
| Edit this page View SourceInvertOrientation
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.
Declaration
public bool InvertOrientation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceGetCurves()
Computes the set of raw offset curves for the buffer. Each offset curve has an attached {Label} indicating its left and right location.
Declaration
public IList<ISegmentString> GetCurves()
Returns
| Type | Description |
|---|---|
| IList<ISegmentString> | A Collection of SegmentStrings representing the raw buffer curves. |