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
Coordinates s are equal. |
<P extends Position> |
equals2D(P first,
P second)
Tests whether the specified
Coordinates s are equal in the base 2D-CoordinateReferenceSystem. |
<P extends Position> boolean equals(P first, P second)
Coordinates
s are equal.first
- first Point
second
- second Point
Positoin
.<P extends Position> boolean equals2D(P first, P second)
Coordinates
s are equal in the base 2D-CoordinateReferenceSystem.first
- first Point
second
- second Point
Position
.<P extends Position> boolean equals(double[] first, double[] second)
first
- the first coordinate arraysecond
- the second coordinate arraycoordinates
s 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 © 2022 geolatte.org. All rights reserved.