littlekt
0.6.0
common
core
/
com.lehaine.littlekt.math.geom
/
Angle
Angle
@
JvmInline
value
class
Angle
(
val
radians
:
Float
)
:
Comparable
<
Angle
>
Types
Constructors
Functions
Properties
Extensions
Constructors
Angle
Link copied to clipboard
fun
Angle
(
radians
:
Float
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Angle
)
:
Int
div
Link copied to clipboard
operator
fun
div
(
other
:
Angle
)
:
Float
operator
fun
div
(
scale
:
Double
)
:
Angle
operator
fun
div
(
scale
:
Float
)
:
Angle
operator
fun
div
(
scale
:
Int
)
:
Angle
minus
Link copied to clipboard
operator
fun
minus
(
other
:
Angle
)
:
Angle
plus
Link copied to clipboard
operator
fun
plus
(
other
:
Angle
)
:
Angle
times
Link copied to clipboard
operator
fun
times
(
scale
:
Double
)
:
Angle
operator
fun
times
(
scale
:
Float
)
:
Angle
operator
fun
times
(
scale
:
Int
)
:
Angle
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
unary
Minus
Link copied to clipboard
operator
fun
unaryMinus
(
)
:
Angle
unary
Plus
Link copied to clipboard
operator
fun
unaryPlus
(
)
:
Angle
Properties
radians
Link copied to clipboard
val
radians
:
Float
Extensions
absolute
Value
Link copied to clipboard
val
Angle
.
absoluteValue
:
Angle
cosine
Link copied to clipboard
val
Angle
.
cosine
:
Float
degrees
Link copied to clipboard
val
Angle
.
degrees
:
Float
in
Between
Link copied to clipboard
infix
fun
Angle
.
inBetween
(
range
:
ClosedRange
<
Angle
>
)
:
Boolean
infix
fun
Angle
.
inBetween
(
range
:
OpenRange
<
Angle
>
)
:
Boolean
fun
Angle
.
inBetween
(
min
:
Angle
,
max
:
Angle
,
inclusive
:
Boolean
)
:
Boolean
in
Between
Exclusive
Link copied to clipboard
fun
Angle
.
inBetweenExclusive
(
min
:
Angle
,
max
:
Angle
)
:
Boolean
in
Between
Inclusive
Link copied to clipboard
fun
Angle
.
inBetweenInclusive
(
min
:
Angle
,
max
:
Angle
)
:
Boolean
long
Distance
To
Link copied to clipboard
fun
Angle
.
longDistanceTo
(
other
:
Angle
)
:
Angle
normalized
Link copied to clipboard
val
Angle
.
normalized
:
Angle
short
Distance
To
Link copied to clipboard
fun
Angle
.
shortDistanceTo
(
other
:
Angle
)
:
Angle
sine
Link copied to clipboard
val
Angle
.
sine
:
Float
tangent
Link copied to clipboard
val
Angle
.
tangent
:
Float
until
Link copied to clipboard
infix
fun
Angle
.
until
(
other
:
Angle
)
:
OpenRange
<
Angle
>