AngleUnit
class AngleUnit(baseUnit: AngleUnit?, toBaseConverter: (Double) -> Double, fromBaseConverter: (Double) -> Double, unitName: String, unitSymbol: String) : Unit<AngleUnit> (source)
Unit of measurement for angles.
Supported units include radians (base unit), degrees, rotations (full circles), and gradians.
Constructors
Properties
Functions
Link copied to clipboard
Checks if this unit is equivalent to another one. Equivalence is determined by both units having the same base type and treat the same base unit magnitude as the same magnitude in their own units, to within Measure.EQUIVALENCE_THRESHOLD.
Link copied to clipboard
Converts a value in terms of base units to a value in terms of this unit.
Link copied to clipboard
Checks if this unit is the base unit for its own system of measurement.
Link copied to clipboard
Creates a new immutable measurement of the given magnitude in terms of this unit's base unit.
Link copied to clipboard
Combines this unit with a unit of time to create an angular velocity unit.
Link copied to clipboard
Converts a value in terms of this unit to a value in terms of the base unit.