Companion

object Companion

Functions

atan
Link copied to clipboard
fun atan(value: Float): Angle

Returns the arc tangent of a given value.

atan2
Link copied to clipboard
fun atan2(y: Float, x: Float): Angle

Returns the arc tangent of a given value y/x.

fromDeg
Link copied to clipboard
fun fromDeg(deg: Float): Angle

Creates a new angle measure from the given measure in degrees.

fromRad
Link copied to clipboard
fun fromRad(rad: Float): Angle

Creates a new angle measure from the given measure in radians.

Properties

fullAngle
Link copied to clipboard
val fullAngle: Angle

Angle measure of 360 degrees.

nullAngle
Link copied to clipboard
val nullAngle: Angle

Angle measure of 0 degrees.

rightAngle
Link copied to clipboard
val rightAngle: Angle

Angle measure of 90 degrees.

straightAngle
Link copied to clipboard
val straightAngle: Angle

Angle measure of 180 degrees.