public static final class Angle.Turn extends Angle
Angle.Deg, Angle.Rad, Angle.Turn| Modifier and Type | Field and Description |
|---|---|
static DoubleUnaryOperator |
WITHIN_0_AND_1
Normalizing operator (result will be within the
[0, 1[ interval). |
static Angle.Turn |
ZERO
Zero.
|
PI_OVER_TWO, TWO_PI| Modifier and Type | Method and Description |
|---|---|
static DoubleUnaryOperator |
normalizer(double lo)
Creates an operator for normalizing/reducing an angle.
|
static Angle.Turn |
of(double angle) |
Angle.Deg |
toDeg() |
Angle.Rad |
toRad() |
Angle.Turn |
toTurn() |
equals, getAsDouble, hashCodepublic static final Angle.Turn ZERO
public static final DoubleUnaryOperator WITHIN_0_AND_1
[0, 1[ interval).public static Angle.Turn of(double angle)
angle - (in turns).public Angle.Turn toTurn()
public static DoubleUnaryOperator normalizer(double lo)
[lo, lo + 1[ interval.lo - Lower bound of the normalized interval.Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.