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 Units
Units. fromName(String name)
Get the units type from the namestatic Units
Units. fromUnit(Unit unit)
Get the units type from the unitstatic Units
Units. getDefaultUnit(UnitType type)
Get the default unit for the unit typestatic Units
Units. 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 boolean
Units. canConvert(Units unit1, Units unit2)
Determine if values can be converted between the two unitsstatic double
Units. convert(double value, Units from, Units to)
Convert the value from a unit to a same typed unit, both with conversion factors
-