|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.index.search.geo.GeoDistance.ArcFixedSourceDistance
public static class GeoDistance.ArcFixedSourceDistance
Constructor Summary | |
---|---|
GeoDistance.ArcFixedSourceDistance(double sourceLatitude,
double sourceLongitude,
DistanceUnit unit)
|
Method Summary | |
---|---|
double |
calculate(double targetLatitude,
double targetLongitude)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeoDistance.ArcFixedSourceDistance(double sourceLatitude, double sourceLongitude, DistanceUnit unit)
Method Detail |
---|
public double calculate(double targetLatitude, double targetLongitude)
calculate
in interface GeoDistance.FixedSourceDistance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |