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
Points are equal. |
boolean equals(Point first, Point second)
Points are equal.first - first Pointsecond - second PointPoint.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 PointfirstDF - the DimensionalFlag for the first coordinate arraysecond - the coordinates second Point to testsecondDF - the DimensionalFlag for the second coordinate arrayPoints 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.