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>(T)
*/
public native static double qAcos(double v);
/**
* See qAcos<T>(T)
*/
public native static float qAcos(float v);
/**
* See qAsin<T>(T)
*/
public native static double qAsin(double v);
/**
* See qAsin<T>(T)
*/
public native static float qAsin(float v);
/**
*
*/
public native static double qAtan2(double y, double x);
/**
*
*/
public native static float qAtan2(float y, float x);
/**
* See qAtan<T>(T)
*/
public native static double qAtan(double v);
/**
* See qAtan<T>(T)
*/
public native static float qAtan(float v);
/**
* See qCeil<T>(T)
*/
public native static int qCeil(double v);
/**
* See qCeil<T>(T)
*/
public native static int qCeil(float v);
/**
* See qCos<T>(T)
*/
public native static double qCos(double v);
/**
* See qCos<T>(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>(T)
*/
public native static double qExp(double v);
/**
* See qExp<T>(T)
*/
public native static float qExp(float v);
/**
* See qFabs<T>(T)
*/
public native static double qFabs(double v);
/**
* See qFabs<T>(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>(T)
*/
public native static int qFloor(double v);
/**
* See qFloor<T>(T)
*/
public native static int qFloor(float v);
/**
*
*/
public native static double qHypot(double x, double y);
/**
*
*/
public native static float qHypot(float x, float y);
/**
* See qLn<T>(T)
*/
public native static double qLn(double v);
/**
* See qLn<T>(T)
*/
public native static float qLn(float v);
/**
*
*/
public native static int qNextPowerOfTwo(int v);
/**
*
*/
public native static long qNextPowerOfTwo(long v);
/**
*
*/
public native static double qPow(double x, double y);
/**
*
*/
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>(T)
*/
public native static double qSin(double v);
/**
* See qSin<T>(T)
*/
public native static float qSin(float v);
/**
* See qSqrt<T>(T)
*/
public native static double qSqrt(double v);
/**
* See qSqrt<T>(T)
*/
public native static float qSqrt(float v);
/**
* See qTan<T>(T)
*/
public native static double qTan(double v);
/**
* See qTan<T>(T)
*/
public native static float qTan(float v);
}