MonotoneChainBuilder class
Constructs {@link MonotoneChain}s for sequences of {@link Coordinate}s.
@version 1.7
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
findChainEnd(
List< Coordinate> pts, int start) → int - Finds the index of the last point in a monotone chain starting at a given point. Repeated points (0-length segments) are included in the monotone chain returned.
-
getChains(
List< Coordinate> pts) → List - Computes a list of the {@link MonotoneChain}s for a list of coordinates.
-
getChainsWithContext(
List< Coordinate> pts, Object? context) → List - Computes a list of the {@link MonotoneChain}s for a list of coordinates, attaching a context data object to each.