Uses of Class
org.apache.lucene.spatial.geometry.DistanceUnits
-
Packages that use DistanceUnits Package Description 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 Modifier and Type Method Description static DistanceUnitsDistanceUnits. findDistanceUnit(String unit)Deprecated.Returns the DistanceUnit which represents the given unitstatic DistanceUnitsDistanceUnits. 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.Methods in org.apache.lucene.spatial.geometry with parameters of type DistanceUnits Modifier and Type Method Description doubleLatLng. arcDistance(LatLng ll2, DistanceUnits lUnits)Deprecated.Calculates the distance between two lat/lng's in miles or meters.doubleDistanceUnits. convert(double distance, DistanceUnits from)Deprecated.Converts the given distance in given DistanceUnit, to a distance in the unit represented bythis
-