| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DistanceUnits | |
|---|---|
| org.apache.lucene.spatial.geometry | |
| 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)Returns the DistanceUnit which represents the given unit | 
| static DistanceUnits | DistanceUnits.valueOf(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. | 
| Methods in org.apache.lucene.spatial.geometry with parameters of type DistanceUnits | |
|---|---|
|  double | LatLng.arcDistance(LatLng ll2,
            DistanceUnits lUnits)Calculates the distance between two lat/lng's in miles or meters. | 
|  double | DistanceUnits.convert(double distance,
        DistanceUnits from)Converts the given distance in given DistanceUnit, to a distance in the unit represented by this | 
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||