Table of Contents

Class OffsetCurveSetBuilder

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.

[Obsolete("Use BufferCurveSetBuilder")]
public class OffsetCurveSetBuilder
Inheritance
OffsetCurveSetBuilder
Inherited Members

Constructors

OffsetCurveSetBuilder(Geometry, double, OffsetCurveBuilder)

public OffsetCurveSetBuilder(Geometry inputGeom, double distance, OffsetCurveBuilder curveBuilder)

Parameters

inputGeom Geometry
distance double
curveBuilder OffsetCurveBuilder

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.