AngularUnit

class AngularUnit : MeasurementUnit

Defines an angular unit of measurement. The angular unit class is derived from the unit class.

See also

Constructors

Link copied to clipboard
fun AngularUnit(unitId: AngularUnitId)

Creates a unit given its known id.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun convertFrom(fromUnit: AngularUnit, angle: Double): Double

Converts a value in another UOM into this UOM.

Link copied to clipboard
fun convertTo(toUnit: AngularUnit, angle: Double): Double

Converts a value in this UOM into another UOM.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun fromRadians(radians: Double): Double

Converts a radian value to this UOM.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun toRadians(angle: Double): Double

Converts a value in this UOM to radians.

Properties

Link copied to clipboard
val abbreviation: String

The abbreviation of the unit. The abbreviation for a specific unit.

Link copied to clipboard
val angularUnitId: AngularUnitId

The AngularUnitId of the given angular unit. If an error occurs then AngularUnitId.Other is returned.

Link copied to clipboard
val displayName: String

The display name of the unit. The display name for a specific unit.

Link copied to clipboard
val name: String

The name of the unit. The name for a specific unit.

Link copied to clipboard
val pluralDisplayName: String

The display name of the unit. The display name for a specific unit.

Link copied to clipboard
val wkid: Int

The well-known ID for the unit, or 0 for a custom unit.