public interface MeasurementUnitsInformation
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MEASUREMENT_UNITS
The default measurement units.
|
static int |
FEET
Feet distance units.
|
static double |
FEET_TO_METER
Feet to meters multiplier.
|
static int |
KILOM
Kilometer distance units.
|
static double |
KM_TO_MILE
Kilometers to miles multiplier.
|
static int |
METER
Meter distance units.
|
static double |
METER_TO_FEET
Meters to feet multiplier.
|
static double |
METER_TO_KM
Meters to kilometers multiplier.
|
static double |
METER_TO_MILE
Meters to miles multiplier.
|
static double |
MILE_TO_KM
Miles to kilometers multiplier.
|
static double |
MILE_TO_METER
Miles to meters multiplier.
|
static int |
MILES
Miles distance units.
|
Modifier and Type | Method and Description |
---|---|
int |
getMeasurementUnits()
Gets the measurement units.
|
void |
setMeasurementUnits(int mu)
Sets the measurement units.
|
static final int KILOM
static final int METER
static final int MILES
static final int FEET
static final int DEFAULT_MEASUREMENT_UNITS
static final double FEET_TO_METER
static final double METER_TO_FEET
static final double MILE_TO_METER
static final double METER_TO_MILE
static final double MILE_TO_KM
static final double KM_TO_MILE
static final double METER_TO_KM