Companion

object Companion

Properties

Link copied to clipboard

An Angle equal to this Double number of degrees.

An Angle equal to this Int number of degrees.

An Angle equal to this Long number of degrees.

Link copied to clipboard

An Angle equal to this Long number of nanodegrees.

Link copied to clipboard

An Angle equal to this Double number of radians.

An Angle equal to this Int number of radians.

An Angle equal to this Long number of radians.

Link copied to clipboard
val ZERO: Angle

The Angle of 0.

Functions

Link copied to clipboard
fun degrees(value: Double): Angle
fun degrees(value: Int): Angle
fun degrees(value: Long): Angle

Creates an Angle instance from the given value in degrees.

Link copied to clipboard
fun nanodegrees(value: Long): Angle

Creates an Angle instance from the given value in nanodegrees.

Link copied to clipboard
fun radians(value: Double): Angle
fun radians(value: Int): Angle
fun radians(value: Long): Angle

Creates an Angle instance from the given value in radians.