PointPairDistance class
Contains a pair of points and the distance between them. Provides methods to update with a new point pair with either maximum or minimum distance.
Constructors
Properties
Methods
-
getCoordinate(
int i) → Coordinate -
getCoordinates(
) → List< Coordinate> -
getDistance(
) → double -
initialize(
) → void -
initialize2C(
Coordinate p0, Coordinate p1) → void -
initialize2CD(
Coordinate p0, Coordinate p1, double distance) → void - Initializes the points, avoiding recomputing the distance. @param p0 @param p1 @param distance the distance between p0 and p1
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setMaximum(
PointPairDistance ptDist) → void -
setMaximum2C(
Coordinate p0, Coordinate p1) → void -
setMinimum(
PointPairDistance ptDist) → void -
setMinimum2C(
Coordinate p0, Coordinate p1) → void -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited