Package org.esa.snap.core.util.math
Interface DistanceMeasure
-
- All Known Implementing Classes:
CosineDistance
,EllipsoidDistance
,EuclideanDistance
,SinusoidalDistance
,SphericalDistance
public interface DistanceMeasure
Interface for measuring the distance of a (lon, lat) point to a reference (lon, lat) point, which is defined by the implementing class.Let p and q denote two points en the Earth. Then, loosely speaking, any distance measure d(p, q) has to satisfy the following properties:
(1) d(p, q) = 0, if p = q
(2) d(p, q) > 0, if p ≠ q
- Since:
- Version 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
distance(double lon, double lat)
Returns the distance of a given (lon, lat) point to the reference (lon, lat) point.
-