public class TurfConstants
extends java.lang.Object
TurfMeasurement.distance(Point, Point, String) the third
 optional parameter can define the output units.
 
 Note that TurfConversion.convertLength(double, String, String) can be used to transform
 one unit to another, such as miles to feet.
 
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | TurfConstants.TurfUnitCriteriaRetention policy for the various Turf units. | 
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | UNIT_CENTIMETERSA centimeter (American spelling) is a unit of length in the metric system, equal to one
 hundredth of a meter. | 
| static java.lang.String | UNIT_CENTIMETRESA centimetre (international spelling) is a unit of length in the metric system, equal to one
 hundredth of a meter. | 
| static java.lang.String | UNIT_DEFAULTThe default unit used in most Turf methods when no other unit is specified is kilometers. | 
| static java.lang.String | UNIT_DEGREESA degree, is a measurement of a plane angle, defined so that a full rotation is 360 degrees. | 
| static java.lang.String | UNIT_FEETThe foot is a unit of length in the imperial and US customary systems of measurement. | 
| static java.lang.String | UNIT_INCHESThe inch (abbreviation: in or ") is a unit of length in the (British) imperial and United
 States customary systems of measurement now formally equal to 1/36th yard but usually
 understood as 1/12th of a foot. | 
| static java.lang.String | UNIT_KILOMETERSThe kilometer (American spelling) is a unit of length in the metric system, equal to one
 thousand meters. | 
| static java.lang.String | UNIT_KILOMETRESThe kilometre (international spelling) is a unit of length in the metric system, equal to one
 thousand metres. | 
| static java.lang.String | UNIT_METERSThe metre (international spelling) or meter (American spelling) is the base unit of length in
 the International System of Units (SI). | 
| static java.lang.String | UNIT_METRESThe metre (international spelling) is the base unit of length in
 the International System of Units (SI). | 
| static java.lang.String | UNIT_MILESThe mile is an English unit of length of linear measure equal to 5,280 feet, or 1,760 yards,
 and standardised as exactly 1,609.344 meters by international agreement in 1959. | 
| static java.lang.String | UNIT_NAUTICAL_MILESThe nautical mile per hour is known as the knot. | 
| static java.lang.String | UNIT_RADIANSThe radian is the standard unit of angular measure, used in many areas of mathematics. | 
| static java.lang.String | UNIT_YARDSThe yard (abbreviation: yd) is an English unit of length, in both the British imperial and US
 customary systems of measurement, that comprises 3 feet or 36 inches. | 
public static final java.lang.String UNIT_MILES
public static final java.lang.String UNIT_NAUTICAL_MILES
public static final java.lang.String UNIT_KILOMETERS
 In many Turf calculations, if a unit is not provided, the output value will fallback onto using
 this unit. See UNIT_DEFAULT for more information.
 
public static final java.lang.String UNIT_RADIANS
public static final java.lang.String UNIT_DEGREES
public static final java.lang.String UNIT_INCHES
public static final java.lang.String UNIT_YARDS
public static final java.lang.String UNIT_METERS
public static final java.lang.String UNIT_CENTIMETERS
public static final java.lang.String UNIT_FEET
public static final java.lang.String UNIT_CENTIMETRES
public static final java.lang.String UNIT_METRES
public static final java.lang.String UNIT_KILOMETRES
public static final java.lang.String UNIT_DEFAULT