Angle

@Serializable(with = AngleSerializer::class)
interface Angle : Comparable<Angle> (source)

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract operator fun compareTo(other: Angle): Int
Link copied to clipboard
abstract operator fun div(other: Number): Angle
abstract operator fun div(other: Angle): Double
Link copied to clipboard
abstract operator fun minus(other: Angle): Angle
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
abstract operator fun plus(other: Angle): Angle
Link copied to clipboard
abstract operator fun times(other: Number): Angle
Link copied to clipboard
abstract fun toDegrees(): Degrees
Link copied to clipboard
abstract fun toRadians(): Radians
Link copied to clipboard
abstract operator fun unaryMinus(): Angle

Properties

Link copied to clipboard
Link copied to clipboard