public interface PositionEquality
Position equality.
Implementations must be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
<P extends Position> |
equals(double[] first,
double[] second)
Tests whether the specified coordinates represent the same point.
|
<P extends Position> |
equals(P first,
P second)
Tests whether the specified
Coordinatess are equal. |
<P extends Position> |
equals2D(P first,
P second)
Tests whether the specified
Coordinatess are equal in the base 2D-CoordinateReferenceSystem. |
<P extends Position> boolean equals(P first, P second)
Coordinatess are equal.first - first Pointsecond - second PointPositoin.<P extends Position> boolean equals2D(P first, P second)
Coordinatess are equal in the base 2D-CoordinateReferenceSystem.first - first Pointsecond - second PointPosition.<P extends Position> boolean equals(double[] first, double[] second)
first - the first coordinate arraysecond - the second coordinate arraycoordinatess are equalIllegalArgumentException - when a NULL-argument is passed, or a coordinate array is
passed that is smaller than the coordinate dimensions of its corresponding Position Reference System.Copyright © 2021 geolatte.org. All rights reserved.