Uses of Class
mil.nga.crs.common.Units
-
Packages that use Units Package Description mil.nga.crs.common -
-
Uses of Units in mil.nga.crs.common
Methods in mil.nga.crs.common that return Units Modifier and Type Method Description static UnitsUnits. fromName(String name)Get the units type from the namestatic UnitsUnits. fromUnit(Unit unit)Get the units type from the unitstatic UnitsUnits. getDefaultUnit(UnitType type)Get the default unit for the unit typestatic UnitsUnits. valueOf(String name)Returns the enum constant of this type with the specified name.static Units[]Units. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in mil.nga.crs.common with parameters of type Units Modifier and Type Method Description static booleanUnits. canConvert(Units unit1, Units unit2)Determine if values can be converted between the two unitsstatic doubleUnits. convert(double value, Units from, Units to)Convert the value from a unit to a same typed unit, both with conversion factors
-