io.qt.core.QtMath Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.core;
import io.qt.*;
/**
* File provides various math functions
* Java wrapper for Qt namespace QtMath
*/
public final class QtMath
{
static {
QtJambi_LibraryUtilities.initialize();
}
private QtMath() throws java.lang.InstantiationError { throw new java.lang.InstantiationError("Cannot instantiate namespace QtMath."); }
/**
* See qAcos(T)
*/
public native static double qAcos(double v);
/**
* See qAcos(T)
*/
public native static float qAcos(float v);
/**
* See qAsin(T)
*/
public native static double qAsin(double v);
/**
* See qAsin(T)
*/
public native static float qAsin(float v);
/**
* See qAtan2(T1, T2)
*/
public native static double qAtan2(double y, double x);
/**
* See qAtan2(T1, T2)
*/
public native static float qAtan2(float y, float x);
/**
* See qAtan(T)
*/
public native static double qAtan(double v);
/**
* See qAtan(T)
*/
public native static float qAtan(float v);
/**
* See qCeil(T)
*/
public native static int qCeil(double v);
/**
* See qCeil(T)
*/
public native static int qCeil(float v);
/**
* See qCos(T)
*/
public native static double qCos(double v);
/**
* See qCos(T)
*/
public native static float qCos(float v);
/**
*
*/
public native static double qDegreesToRadians(double degrees);
/**
*
*/
public native static float qDegreesToRadians(float degrees);
/**
* See qExp(T)
*/
public native static double qExp(double v);
/**
* See qExp(T)
*/
public native static float qExp(float v);
/**
* See qFabs(T)
*/
public native static double qFabs(double v);
/**
* See qFabs(T)
*/
public native static float qFabs(float v);
/**
* See qFastCos(qreal)
*/
public native static double qFastCos(double x);
/**
* See qFastSin(qreal)
*/
public native static double qFastSin(double x);
/**
* See qFloor(T)
*/
public native static int qFloor(double v);
/**
* See qFloor(T)
*/
public native static int qFloor(float v);
/**
* See qHypot(Tx, Ty)
*/
public native static double qHypot(double x, double y);
/**
* See qHypot(Tx, Ty)
*/
public native static float qHypot(float x, float y);
/**
* See qLn(T)
*/
public native static double qLn(double v);
/**
* See qLn(T)
*/
public native static float qLn(float v);
/**
*
*/
public native static int qNextPowerOfTwo(int v);
/**
*
*/
public native static long qNextPowerOfTwo(long v);
/**
* See qPow(T1, T2)
*/
public native static double qPow(double x, double y);
/**
* See qPow(T1, T2)
*/
public native static float qPow(float x, float y);
/**
*
*/
public native static double qRadiansToDegrees(double radians);
/**
*
*/
public native static float qRadiansToDegrees(float radians);
/**
* See qSin(T)
*/
public native static double qSin(double v);
/**
* See qSin(T)
*/
public native static float qSin(float v);
/**
* See qSqrt(T)
*/
public native static double qSqrt(double v);
/**
* See qSqrt(T)
*/
public native static float qSqrt(float v);
/**
* See qTan(T)
*/
public native static double qTan(double v);
/**
* See qTan(T)
*/
public native static float qTan(float v);
}