OrientedCoordinateArray class
Allows comparing {@link Coordinate} arrays in an orientation-independent way.
@author Martin Davis @version 1.7
- Implemented types
Constructors
-
OrientedCoordinateArray(List<
Coordinate> pts) - Creates a new {@link OrientedCoordinateArray} for the given {@link Coordinate} array.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pts
↔ List<
Coordinate> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareTo(
dynamic o1) → int -
Compares two {@link OrientedCoordinateArray}s for their relative order
override
-
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
-
compareOriented(
List< Coordinate> pts1, bool orientation1, List<Coordinate> pts2, bool orientation2) → int -
orientation(
List< Coordinate> pts) → bool - Computes the canonical orientation for a coordinate array.