OffsetSegmentString class

A dynamic list of the vertices in a constructed offset curve. Automatically removes adjacent vertices which are closer than a given tolerance.

@author Martin Davis

Constructors

OffsetSegmentString()

Properties

hashCode int
The hash code for this object.
no setterinherited
minimimVertexDistance double
The distance below which two adjacent points on the curve are considered to be coincident. This is chosen to be a small fraction of the offset distance.
getter/setter pair
precisionModel PrecisionModel?
getter/setter pair
ptList List
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPt(Coordinate pt) → void
addPts(List<Coordinate> pt, bool isForward) → void
closeRing() → void
getCoordinates() List<Coordinate>
isRedundant(Coordinate pt) bool
Tests whether the given point is redundant relative to the previous point in the list (up to tolerance).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reverse() → void
setMinimumVertexDistance(double minimimVertexDistance) → void
setPrecisionModel(PrecisionModel precisionModel) → void
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited