java.lang.Object
io.qt.core.QtMath
File provides various math functions
Java wrapper for Qt's namespace QtMath
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
qAcos
(double v) static float
qAcos
(float v) static double
qAsin
(double v) static float
qAsin
(float v) static double
qAtan
(double v) static float
qAtan
(float v) static double
qAtan2
(double y, double x) static float
qAtan2
(float y, float x) static int
qCeil
(double v) static int
qCeil
(float v) static double
qCos
(double v) static float
qCos
(float v) static double
qDegreesToRadians
(double degrees) static float
qDegreesToRadians
(float degrees) static double
qExp
(double v) static float
qExp
(float v) static double
qFabs
(double v) static float
qFabs
(float v) static double
qFastCos
(double x) static double
qFastSin
(double x) static int
qFloor
(double v) static int
qFloor
(float v) static double
qHypot
(double x, double y) static float
qHypot
(float x, float y) static double
qLn
(double v) static float
qLn
(float v) static int
qNextPowerOfTwo
(int v) static long
qNextPowerOfTwo
(long v) static double
qPow
(double x, double y) static float
qPow
(float x, float y) static double
qRadiansToDegrees
(double radians) static float
qRadiansToDegrees
(float radians) static double
qSin
(double v) static float
qSin
(float v) static double
qSqrt
(double v) static float
qSqrt
(float v) static double
qTan
(double v) static float
qTan
(float v)
-
Method Details
-
qAcos
public static double qAcos(double v) -
qAcos
public static float qAcos(float v) -
qAsin
public static double qAsin(double v) -
qAsin
public static float qAsin(float v) -
qAtan
public static double qAtan(double v) -
qAtan
public static float qAtan(float v) -
qAtan2
public static double qAtan2(double y, double x) -
qAtan2
public static float qAtan2(float y, float x) -
qCeil
public static int qCeil(double v) -
qCeil
public static int qCeil(float v) -
qCos
public static double qCos(double v) -
qCos
public static float qCos(float v) -
qDegreesToRadians
public static double qDegreesToRadians(double degrees) -
qDegreesToRadians
public static float qDegreesToRadians(float degrees) -
qExp
public static double qExp(double v) -
qExp
public static float qExp(float v) -
qFabs
public static double qFabs(double v) -
qFabs
public static float qFabs(float v) -
qFastCos
public static double qFastCos(double x) -
qFastSin
public static double qFastSin(double x) -
qFloor
public static int qFloor(double v) -
qFloor
public static int qFloor(float v) -
qHypot
public static double qHypot(double x, double y) -
qHypot
public static float qHypot(float x, float y) -
qLn
public static double qLn(double v) -
qLn
public static float qLn(float v) -
qNextPowerOfTwo
public static int qNextPowerOfTwo(int v) -
qNextPowerOfTwo
public static long qNextPowerOfTwo(long v) -
qPow
public static double qPow(double x, double y) -
qPow
public static float qPow(float x, float y) -
qRadiansToDegrees
public static double qRadiansToDegrees(double radians) -
qRadiansToDegrees
public static float qRadiansToDegrees(float radians) -
qSin
public static double qSin(double v) -
qSin
public static float qSin(float v) -
qSqrt
public static double qSqrt(double v) -
qSqrt
public static float qSqrt(float v) -
qTan
public static double qTan(double v) -
qTan
public static float qTan(float v)
-