public interface ProjectionPoint
ProjectionPointImpl
Modifier and Type | Method and Description |
---|---|
double |
getX()
Get the X coordinate
|
double |
getY()
Get the Y coordinate
|
default boolean |
nearlyEquals(ProjectionPoint other)
Returns the result of
nearlyEquals(ProjectionPoint, double) , with
Misc.defaultMaxRelativeDiffDouble . |
boolean |
nearlyEquals(ProjectionPoint other,
double maxRelDiff)
Returns
true if this point is nearly equal to other . |
double getX()
double getY()
default boolean nearlyEquals(ProjectionPoint other)
nearlyEquals(ProjectionPoint, double)
, with
Misc.defaultMaxRelativeDiffDouble
.boolean nearlyEquals(ProjectionPoint other, double maxRelDiff)
true
if this point is nearly equal to other
. The "near equality" of points is determined
using Misc.nearlyEquals(double, double, double)
, with the specified maxRelDiff.other
- the other point to check.maxRelDiff
- the maximum relative difference
the two points may have.true
if this point is nearly equal to other
.