Package com.luciad.network.function
Interface ILcdCrossCountryDistanceFunction
- All Known Implementing Classes:
ALcdCrossCountryHeightProviderDistanceFunction
,ALcdCrossCountryRasterDistanceFunction
public interface ILcdCrossCountryDistanceFunction
A
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.- Since:
- 9.1
-
Method Summary
Modifier and TypeMethodDescriptiondouble
computeDistance
(ILcdPoint aStartPoint, ILcdPoint aEndPoint) Returns the distance between 2 points.Returns the bounds in which this function can compute distances.
-
Method Details
-
computeDistance
Returns the distance between 2 points. These points should both be inside the bounds of this distance function.- Parameters:
aStartPoint
- the start point.aEndPoint
- the end point.- Returns:
- the distance from
aStartPoint
toaEndPoint
.
-
getBounds
ILcdBounds getBounds()Returns the bounds in which this function can compute distances.- Returns:
- the bounds in which this function can compute distances.
-