Package-level declarations

The concrete Measure types: Distance, Time, Angle, Mass, Force, Torque, Energy, Power, Current, Voltage, Temperature, LinearVelocity/LinearAcceleration, and AngularVelocity/AngularAcceleration. Also includes Mul and Per, the generic compound types that back cross-quantity arithmetic.

Types

Link copied to clipboard

Immutable measurement of angle.

Link copied to clipboard

Immutable measurement of angular acceleration (angular velocity per time, or angle per time squared).

Link copied to clipboard

Immutable measurement of angular velocity (angle per time).

Link copied to clipboard

Immutable measurement of electrical current.

Link copied to clipboard

Immutable measurement of distance/length.

Link copied to clipboard

Immutable measurement of energy.

Link copied to clipboard

Immutable measurement of force.

Link copied to clipboard

Immutable measurement of linear acceleration (velocity per time, or distance per time squared).

Link copied to clipboard

Immutable measurement of linear velocity (distance per time).

Link copied to clipboard

Immutable measurement of mass.

Link copied to clipboard
open class Mul<N : Unit<N>, D : Unit<D>>(val magnitude: Double, val unit: MulUnit<N, D>) : Measure<MulUnit<N, D>>

Immutable measurement representing the product of two units.

Link copied to clipboard
open class Per<N : Unit<N>, D : Unit<D>>(val magnitude: Double, val unit: PerUnit<N, D>) : Measure<PerUnit<N, D>>
Link copied to clipboard

Immutable measurement of power.

Link copied to clipboard

Immutable measurement of temperature.

Link copied to clipboard
Link copied to clipboard

Immutable measurement of torque.

Link copied to clipboard

Immutable measurement of electrical potential difference (voltage).

Functions

Link copied to clipboard
Link copied to clipboard