Degrees

value class Degrees(val value: Double) : Angle(source)

Type safe degrees

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): Degrees
open operator override fun div(other: Angle): Double
Link copied to clipboard
open operator override fun minus(other: Angle): Degrees
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): Degrees
Link copied to clipboard
open operator override fun times(other: Number): Degrees
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(): Degrees

Properties

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