Class TrigonometryExpressions


  • public final class TrigonometryExpressions
    extends Object
    Defines helper methods for the trigonometry expressions
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static dev.morphia.aggregation.expressions.impls.Expression acos​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the inverse cosine (arc cosine) of a value in radians.
      static dev.morphia.aggregation.expressions.impls.Expression acosh​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the inverse hyperbolic cosine (hyperbolic arc cosine) of a value in radians.
      static dev.morphia.aggregation.expressions.impls.Expression asin​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the inverse sin (arc sine) of a value in radians.
      static dev.morphia.aggregation.expressions.impls.Expression asinh​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the inverse hyperbolic sine (hyperbolic arc sine) of a value in radians.
      static dev.morphia.aggregation.expressions.impls.Expression atan​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the inverse tangent (arc tangent) of a value in radians.
      static dev.morphia.aggregation.expressions.impls.Expression atan2​(dev.morphia.aggregation.expressions.impls.Expression yValue, dev.morphia.aggregation.expressions.impls.Expression xValue)
      Returns the inverse tangent (arc tangent) of y / x in radians, where y and x are the first and second values passed to the expression respectively.
      static dev.morphia.aggregation.expressions.impls.Expression atanh​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the inverse hyperbolic tangent (hyperbolic arc tangent) of a value in radians.
      static dev.morphia.aggregation.expressions.impls.Expression cos​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the cosine of a value that is measured in radians.
      static dev.morphia.aggregation.expressions.impls.Expression cosh​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the hyperbolic cosine of a value that is measured in radians.
      static dev.morphia.aggregation.expressions.impls.Expression degreesToRadians​(dev.morphia.aggregation.expressions.impls.Expression value)
      Converts a value from degrees to radians.
      static dev.morphia.aggregation.expressions.impls.Expression radiansToDegrees​(dev.morphia.aggregation.expressions.impls.Expression value)
      Converts a value from radians to degrees.
      static dev.morphia.aggregation.expressions.impls.Expression sin​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the sine of a value that is measured in radians.
      static dev.morphia.aggregation.expressions.impls.Expression sinh​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the hyperbolic sine of a value that is measured in radians.
      static dev.morphia.aggregation.expressions.impls.Expression tan​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the tangent of a value that is measured in radians.
      static dev.morphia.aggregation.expressions.impls.Expression tanh​(dev.morphia.aggregation.expressions.impls.Expression value)
      Returns the hyperbolic tangent of a value that is measured in radians.
    • Method Detail

      • acos

        public static dev.morphia.aggregation.expressions.impls.Expression acos​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the inverse cosine (arc cosine) of a value in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $acos
      • acosh

        public static dev.morphia.aggregation.expressions.impls.Expression acosh​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the inverse hyperbolic cosine (hyperbolic arc cosine) of a value in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $acosh
      • asin

        public static dev.morphia.aggregation.expressions.impls.Expression asin​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the inverse sin (arc sine) of a value in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $asin
      • asinh

        public static dev.morphia.aggregation.expressions.impls.Expression asinh​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the inverse hyperbolic sine (hyperbolic arc sine) of a value in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $asinh
      • atan

        public static dev.morphia.aggregation.expressions.impls.Expression atan​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the inverse tangent (arc tangent) of a value in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $atan
      • atan2

        public static dev.morphia.aggregation.expressions.impls.Expression atan2​(dev.morphia.aggregation.expressions.impls.Expression yValue,
                                                                                 dev.morphia.aggregation.expressions.impls.Expression xValue)
        Returns the inverse tangent (arc tangent) of y / x in radians, where y and x are the first and second values passed to the expression respectively.
        Parameters:
        yValue - the y value
        xValue - the x value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $atan2
      • atanh

        public static dev.morphia.aggregation.expressions.impls.Expression atanh​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the inverse hyperbolic tangent (hyperbolic arc tangent) of a value in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $atanh
      • cos

        public static dev.morphia.aggregation.expressions.impls.Expression cos​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the cosine of a value that is measured in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $cos
      • cosh

        public static dev.morphia.aggregation.expressions.impls.Expression cosh​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the hyperbolic cosine of a value that is measured in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        Since:
        2.2
        MongoDB documentation
        Aggregration Expression: $cosh
      • degreesToRadians

        public static dev.morphia.aggregation.expressions.impls.Expression degreesToRadians​(dev.morphia.aggregation.expressions.impls.Expression value)
        Converts a value from degrees to radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $degreesToRadians
      • radiansToDegrees

        public static dev.morphia.aggregation.expressions.impls.Expression radiansToDegrees​(dev.morphia.aggregation.expressions.impls.Expression value)
        Converts a value from radians to degrees.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $radiansToDegrees
      • sin

        public static dev.morphia.aggregation.expressions.impls.Expression sin​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the sine of a value that is measured in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $sin
      • sinh

        public static dev.morphia.aggregation.expressions.impls.Expression sinh​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the hyperbolic sine of a value that is measured in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        Since:
        2.2
        MongoDB documentation
        Aggregration Expression: $sinh
      • tan

        public static dev.morphia.aggregation.expressions.impls.Expression tan​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the tangent of a value that is measured in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        MongoDB documentation
        Aggregration Expression: $tan
      • tanh

        public static dev.morphia.aggregation.expressions.impls.Expression tanh​(dev.morphia.aggregation.expressions.impls.Expression value)
        Returns the hyperbolic tangent of a value that is measured in radians.
        Parameters:
        value - the value
        Returns:
        the new expression
        Since:
        2.2
        MongoDB documentation
        Aggregration Expression: $tanh