Package | Description |
---|---|
org.apache.lucene.spatial.geometry |
Modifier and Type | Method and Description |
---|---|
static DistanceUnits |
DistanceUnits.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistanceUnits[] |
DistanceUnits.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
double |
LatLng.arcDistance(LatLng ll2,
DistanceUnits lUnits)
Calculates the distance between two lat/lng's in miles or meters.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.