Class Angle.Deg

    • Field Detail

      • ZERO

        public static final Angle.Deg ZERO
        Zero.
      • WITHIN_0_AND_360

        public static final DoubleUnaryOperator WITHIN_0_AND_360
        Normalizing operator (result will be within the [0, 360[ interval).
    • Method Detail

      • of

        public static Angle.Deg of​(double angle)
        Parameters:
        angle - (in degrees).
        Returns:
        a new intance.
      • normalizer

        public static DoubleUnaryOperator normalizer​(double lo)
        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.