public interface LatLonPoint
Modifier and Type | Method and Description |
---|---|
double |
getLatitude()
Returns the latitude, between +/- 90 degrees.
|
double |
getLongitude()
Returns the longitude, between +/-180 degrees
|
default boolean |
nearlyEquals(LatLonPoint that)
Returns the result of
nearlyEquals(LatLonPoint, double) , with Misc.defaultMaxRelativeDiffDouble . |
boolean |
nearlyEquals(LatLonPoint that,
double maxRelDiff)
Returns
true if this point is nearly equal to that . |
double getLongitude()
double getLatitude()
default boolean nearlyEquals(LatLonPoint that)
nearlyEquals(LatLonPoint, double)
, with Misc.defaultMaxRelativeDiffDouble
.boolean nearlyEquals(LatLonPoint that, double maxRelDiff)
true
if this point is nearly equal to that
. The "near equality" of points is determined
using Misc.nearlyEquals(double, double, double)
, with the specified maxRelDiff.that
- the other point to check.maxRelDiff
- the maximum relative difference
the two points may have.true
if this point is nearly equal to that
.