public interface ILcdCrossCountryDistanceFunction
ILcdCrossCountryDistanceFunction
calculates distances between two given points.
In general this distance can be of all kinds: it can be an exact distance, or an estimate, an
Euclidean distance or a time cost, ... The exact requirements for a distance function, if any,
shall be specified at the place where the distance function is used.Modifier and Type | Method and Description |
---|---|
double |
computeDistance(ILcdPoint aStartPoint,
ILcdPoint aEndPoint)
Returns the distance between 2 points.
|
ILcdBounds |
getBounds()
Returns the bounds in which this function can compute distances.
|
double computeDistance(ILcdPoint aStartPoint, ILcdPoint aEndPoint)
aStartPoint
- the start point.aEndPoint
- the end point.aStartPoint
to aEndPoint
.ILcdBounds getBounds()