public static final class Angle.Deg extends Angle
Angle.Deg, Angle.Rad, Angle.Turn
Modifier and Type | Field and Description |
---|---|
static DoubleUnaryOperator |
WITHIN_0_AND_360
Normalizing operator (result will be within the
[0, 360[ interval). |
static Angle.Deg |
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.Deg |
of(double angle) |
Angle.Deg |
toDeg() |
Angle.Rad |
toRad() |
Angle.Turn |
toTurn() |
equals, getAsDouble, hashCode
public static final DoubleUnaryOperator WITHIN_0_AND_360
[0, 360[
interval).public static Angle.Deg of(double angle)
angle
- (in degrees).public Angle.Turn toTurn()
public static DoubleUnaryOperator normalizer(double lo)
[c, c + 360[
interval.lo
- Lower bound of the normalized interval.Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.