Measure
A measure holds the magnitude and unit of some dimension, such as distance, time, or speed. Two measures with the same unit and magnitude are effectively equivalent objects.
Since
1.0.0-pre
Parameters
<U>
the unit type of the measure
Inheritors
Properties
Functions
Link copied to clipboard
Gets the magnitude of this measure in terms of the base unit.
Link copied to clipboard
Link copied to clipboard
Checks if this measure is equivalent to another measure of the same unit.
Link copied to clipboard
Checks if this measure is near another measure of the same unit.
Checks if this measure is near another measure of the same unit, with a specified tolerance of the same unit.
Link copied to clipboard
Creates a new mutable copy of this measure.
Link copied to clipboard
Creates a relational measure equivalent to this one per some other unit.
Creates a velocity measure by dividing this one by a time period measure.
Creates a velocity measure equivalent to this one per a unit of time.
Link copied to clipboard
Link copied to clipboard
Returns a string representation of this measurement in a longhand form.
Link copied to clipboard
Returns a string representation of this measurement in a scientific shorthand form.
Link copied to clipboard
Returns a string representation of this measurement in the default form.