Class Angle.Deg
java.lang.Object
org.apache.commons.numbers.angle.Angle
org.apache.commons.numbers.angle.Angle.Deg
- All Implemented Interfaces:
DoubleSupplier
- Enclosing class:
Angle
-
Nested Class Summary
Nested classes/interfaces inherited from class Angle
Angle.Deg, Angle.Rad, Angle.Turn -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DoubleUnaryOperatorNormalizing operator (result will be within the[0, 360[interval).static final Angle.DegZero.Fields inherited from class Angle
PI_OVER_TWO, TWO_PI -
Method Summary
Modifier and TypeMethodDescriptionstatic DoubleUnaryOperatornormalizer(double lo) Creates an operator for normalizing/reducing an angle.static Angle.Degof(double angle) Create an instance.toDeg()Convert to aAngle.Deg.toRad()Convert to aAngle.Rad.toTurn()Convert to aAngle.Turn.Methods inherited from class Angle
equals, getAsDouble, hashCode
-
Field Details
-
ZERO
-
WITHIN_0_AND_360
Normalizing operator (result will be within the[0, 360[interval).
-
-
Method Details
-
of
-
toTurn
Convert to aAngle.Turn. -
toRad
-
toDeg
-
normalizer
Creates an operator for normalizing/reducing an angle. The output will be within the[c, c + 360[interval.- Parameters:
lo- Lower bound of the normalized interval.- Returns:
- the normalization operator.
-