Class OffsetCurveVertexList
A list of the vertices in a constructed offset curve.
Inherited Members
Namespace: NetTopologySuite.Operation.Buffer
Assembly: NetTopologySuite.dll
Syntax
public class OffsetCurveVertexList
Remarks
Automatically removes close adjacent vertices.
Constructors
| Edit this page View SourceOffsetCurveVertexList()
Declaration
public OffsetCurveVertexList()
Properties
| Edit this page View SourceCoordinates
Gets the Coordinates for the curve.
Declaration
public Coordinate[] Coordinates { get; }
Property Value
Type | Description |
---|---|
Coordinate[] |
MinimumVertexDistance
The distance below which two adjacent points on the curve are considered to be coincident.
Declaration
public double MinimumVertexDistance { get; set; }
Property Value
Type | Description |
---|---|
double |
Remarks
This is chosen to be a small fraction of the offset distance.
PrecisionModel
Gets/Sets the precision model to use when adding new points.
Declaration
public PrecisionModel PrecisionModel { get; set; }
Property Value
Type | Description |
---|---|
PrecisionModel |
Methods
| Edit this page View SourceAddPt(Coordinate)
Function to add a point
Declaration
public void AddPt(Coordinate pt)
Parameters
Type | Name | Description |
---|---|---|
Coordinate | pt | The point to add. |
Remarks
The point is only added if IsDuplicate(Coordinate) evaluates to false.
CloseRing()
Automatically closes the ring (if it not alread is).
Declaration
public void CloseRing()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |