Companion

object Companion

Functions

atan
Link copied to clipboard
common
fun atan(value: Float): Angle
Returns the arc tangent of a given value.
atan2
Link copied to clipboard
common
fun atan2(y: Float, x: Float): Angle
Returns the arc tangent of a given value y/x.
fromDeg
Link copied to clipboard
common
fun fromDeg(deg: Float): Angle
Creates a new angle measure from the given measure in degrees.
fromRad
Link copied to clipboard
common
fun fromRad(rad: Float): Angle
Creates a new angle measure from the given measure in radians.

Properties

fullAngle
Link copied to clipboard
common
val fullAngle: Angle
Angle measure of 360 degrees.
nullAngle
Link copied to clipboard
common
val nullAngle: Angle
Angle measure of 0 degrees.
rightAngle
Link copied to clipboard
common
val rightAngle: Angle
Angle measure of 90 degrees.
straightAngle
Link copied to clipboard
common
val straightAngle: Angle
Angle measure of 180 degrees.