|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DistanceUnits | |
---|---|
org.apache.lucene.spatial.geometry | Coordinate and distance representations. |
Uses of DistanceUnits in org.apache.lucene.spatial.geometry |
---|
Methods in org.apache.lucene.spatial.geometry that return DistanceUnits | |
---|---|
static DistanceUnits |
DistanceUnits.findDistanceUnit(String unit)
Deprecated. Returns the DistanceUnit which represents the given unit |
static DistanceUnits |
DistanceUnits.valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static DistanceUnits[] |
DistanceUnits.values()
Deprecated. Returns an array containing the constants of this enum type, in the order they're declared. |
Methods in org.apache.lucene.spatial.geometry with parameters of type DistanceUnits | |
---|---|
double |
LatLng.arcDistance(LatLng ll2,
DistanceUnits lUnits)
Deprecated. Calculates the distance between two lat/lng's in miles or meters. |
double |
DistanceUnits.convert(double distance,
DistanceUnits from)
Deprecated. Converts the given distance in given DistanceUnit, to a distance in the unit represented by this |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |