Modifier and Type | Method and Description |
---|---|
float |
getMagnitude()
Get the magnitude of this value in its unit.
|
float |
getMagnitude(T unit)
Get this length in the specified units.
|
float |
getMagnitudeInDefaultUnit()
Get the magnitude of this value in the default unit for the value class,
scaling it if stored in a different unit.
|
T |
getUnit()
Get the unit in which the magnitude is measured.
|
float getMagnitude()
float getMagnitudeInDefaultUnit()