Package | Description |
---|---|
org.apache.lucene.spatial.geometry |
Coordinate and distance representations.
|
Modifier and Type | Method | Description |
---|---|---|
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 are declared.
|
Modifier and Type | Method | Description |
---|---|---|
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 |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.