Table of Contents

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 Geometry

The input geometry

distance double

The offset distance

precisionModel PrecisionModel

A precision model

parameters BufferParameters

The 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

bool

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.