public interface PointEquality
Point
equality.
Implementations must be thread-safe.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(double[] first,
DimensionalFlag firstDF,
double[] second,
DimensionalFlag secondDF)
Tests whether the specified coordinates represent the same point.
|
boolean |
equals(Point first,
Point second)
Tests whether the specified
Point s are equal. |
boolean equals(Point first, Point second)
Point
s are equal.first
- first Point
second
- second Point
Point
.boolean equals(double[] first, DimensionalFlag firstDF, double[] second, DimensionalFlag secondDF)
The coordinates are assumed to be in the same Coordinate Reference System.
first
- the coordinates of the first Point
firstDF
- the DimensionalFlag
for the first coordinate arraysecond
- the coordinates second Point
to testsecondDF
- the DimensionalFlag
for the second coordinate arrayPoint
s represented by the coordinates are equalIllegalArgumentException
- when a NULL-argument is passed, or a coordinate array is
passed that is smaller than the coordinate dimensions of its corresponding dimensional flag.Copyright © 2015 geolatte.org. All rights reserved.