Module qtjambi
Package io.qt.core

Class QtMath

java.lang.Object
io.qt.core.QtMath

public final class QtMath extends Object

File provides various math functions

Java wrapper for Qt namespace QtMath

  • Method Details

    • qAcos

      public static double qAcos(double v)
      Parameters:
      v -
      Returns:
    • qAsin

      public static double qAsin(double v)
      Parameters:
      v -
      Returns:
    • qAtan

      public static double qAtan(double v)
      Parameters:
      v -
      Returns:
    • qAtan2

      public static double qAtan2(double y, double x)
      Parameters:
      y -
      x -
      Returns:
    • qCeil

      public static int qCeil(double v)
      Parameters:
      v -
      Returns:
    • qCos

      public static double qCos(double v)
      Parameters:
      v -
      Returns:
    • qDegreesToRadians

      public static double qDegreesToRadians(double degrees)
      Parameters:
      degrees -
      Returns:
      Since:
      This function was introduced in Qt 5.1.
    • qDegreesToRadians

      public static float qDegreesToRadians(float degrees)
      Parameters:
      degrees -
      Returns:
      Since:
      This function was introduced in Qt 5.1.
    • qExp

      public static double qExp(double v)
      Parameters:
      v -
      Returns:
    • qFabs

      public static double qFabs(double v)
      Parameters:
      v -
      Returns:
    • qFastCos

      public static double qFastCos(double x)

      See qFastCos(qreal)

      Parameters:
      x -
      Returns:
    • qFastSin

      public static double qFastSin(double x)

      See qFastSin(qreal)

      Parameters:
      x -
      Returns:
    • qFloor

      public static int qFloor(double v)
      Parameters:
      v -
      Returns:
    • qLn

      public static double qLn(double v)
      Parameters:
      v -
      Returns:
    • qNextPowerOfTwo

      public static int qNextPowerOfTwo(int v)
      Parameters:
      v -
      Returns:
      Since:
      This function was introduced in Qt 5.4.
    • qNextPowerOfTwo

      public static long qNextPowerOfTwo(long v)
      Parameters:
      v -
      Returns:
      Since:
      This function was introduced in Qt 5.4.
    • qPow

      public static double qPow(double x, double y)
      Parameters:
      x -
      y -
      Returns:
    • qRadiansToDegrees

      public static double qRadiansToDegrees(double radians)
      Parameters:
      radians -
      Returns:
      Since:
      This function was introduced in Qt 5.1.
    • qRadiansToDegrees

      public static float qRadiansToDegrees(float radians)
      Parameters:
      radians -
      Returns:
      Since:
      This function was introduced in Qt 5.1.
    • qSin

      public static double qSin(double v)
      Parameters:
      v -
      Returns:
    • qSqrt

      public static double qSqrt(double v)
      Parameters:
      v -
      Returns:
    • qTan

      public static double qTan(double v)
      Parameters:
      v -
      Returns: