public abstract class AbstractDistanceCalculator extends Object implements DistanceCalculator
| Constructor and Description |
|---|
AbstractDistanceCalculator() |
| Modifier and Type | Method and Description |
|---|---|
double |
distance(Point from,
Point to)
The distance between
from and to. |
String |
toString() |
boolean |
within(Point from,
double toX,
double toY,
double distance)
Returns true if the distance between from and to is <= distance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitarea, area, calcBoxByDistFromPt_yHorizAxisDEG, calcBoxByDistFromPt, distance, pointOnBearingpublic double distance(Point from, Point to)
DistanceCalculatorfrom and to.distance in interface DistanceCalculatorpublic boolean within(Point from, double toX, double toY, double distance)
DistanceCalculatorwithin in interface DistanceCalculatorCopyright © 2025. All rights reserved.