Angle

Angle

An angle, in either radians, degrees, turns or gon (also called gradians).

toRadians : Angle -> [Radians F64]

Convert an angle to radians.

toDegrees : Angle -> [Degrees F64]

Convert an angle to degrees.

toTurns : Angle -> [Turns F64]

Convert an angle to turns.

toGon : Angle -> [Gon F64]

Convert an angle to gon.

isApproxEq : Angle, Angle, { rtol ? F64, atol ? F64 } -> Bool

Check if two angles are approximately equal.

The tolerance values apply to the angles when converted to radians.

isNaN : Angle -> Bool

toStr : Angle -> Str