Radians

@Serializable
value class Radians(val value: Double) : Angle(source)

Type safe radians

Constructors

Link copied to clipboard
constructor(value: Double)

Functions

Link copied to clipboard
open operator override fun compareTo(other: Angle): Int
Link copied to clipboard
open operator override fun div(other: Number): Radians
open operator override fun div(other: Angle): Double
Link copied to clipboard
open operator override fun minus(other: Angle): Radians
Link copied to clipboard
fun Angle.normalized(center: Angle = Angle.pi): Angle

Normalized angle 2 PI range symmetric around center. By default, uses (0, 2PI) range.

Link copied to clipboard
open operator override fun plus(other: Angle): Radians
Link copied to clipboard
open operator override fun times(other: Number): Radians
Link copied to clipboard
open override fun toDegrees(): Degrees
Link copied to clipboard
open override fun toRadians(): Radians
Link copied to clipboard
open operator override fun unaryMinus(): Radians

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard