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)
* @param v
* @return
*/
public native static double qAcos(double v);
/**
* See qAcos<T>(T)
* @param v
* @return
*/
public native static float qAcos(float v);
/**
* See qAsin<T>(T)
* @param v
* @return
*/
public native static double qAsin(double v);
/**
* See qAsin<T>(T)
* @param v
* @return
*/
public native static float qAsin(float v);
/**
*
* @param y
* @param x
* @return
*/
public native static double qAtan2(double y, double x);
/**
*
* @param y
* @param x
* @return
*/
public native static float qAtan2(float y, float x);
/**
* See qAtan<T>(T)
* @param v
* @return
*/
public native static double qAtan(double v);
/**
* See qAtan<T>(T)
* @param v
* @return
*/
public native static float qAtan(float v);
/**
* See qCeil<T>(T)
* @param v
* @return
*/
public native static int qCeil(double v);
/**
* See qCeil<T>(T)
* @param v
* @return
*/
public native static int qCeil(float v);
/**
* See qCos<T>(T)
* @param v
* @return
*/
public native static double qCos(double v);
/**
* See qCos<T>(T)
* @param v
* @return
*/
public native static float qCos(float v);
/**
*
* @param degrees
* @return
*/
public native static double qDegreesToRadians(double degrees);
/**
*
* @param degrees
* @return
*/
public native static float qDegreesToRadians(float degrees);
/**
* See qExp<T>(T)
* @param v
* @return
*/
public native static double qExp(double v);
/**
* See qExp<T>(T)
* @param v
* @return
*/
public native static float qExp(float v);
/**
* See qFabs<T>(T)
* @param v
* @return
*/
public native static double qFabs(double v);
/**
* See qFabs<T>(T)
* @param v
* @return
*/
public native static float qFabs(float v);
/**
* See qFastCos(qreal)
* @param x
* @return
*/
public native static double qFastCos(double x);
/**
* See qFastSin(qreal)
* @param x
* @return
*/
public native static double qFastSin(double x);
/**
* See qFloor<T>(T)
* @param v
* @return
*/
public native static int qFloor(double v);
/**
* See qFloor<T>(T)
* @param v
* @return
*/
public native static int qFloor(float v);
/**
*
* @since This function was introduced in Qt 6.1.
* @param x
* @param y
* @return
*/
public native static double qHypot(double x, double y);
/**
*
* @since This function was introduced in Qt 6.1.
* @param x
* @param y
* @return
*/
public native static float qHypot(float x, float y);
/**
* See qLn<T>(T)
* @param v
* @return
*/
public native static double qLn(double v);
/**
* See qLn<T>(T)
* @param v
* @return
*/
public native static float qLn(float v);
/**
*
* @param v
* @return
*/
public native static int qNextPowerOfTwo(int v);
/**
*
* @param v
* @return
*/
public native static long qNextPowerOfTwo(long v);
/**
*
* @param x
* @param y
* @return
*/
public native static double qPow(double x, double y);
/**
*
* @param x
* @param y
* @return
*/
public native static float qPow(float x, float y);
/**
*
* @param radians
* @return
*/
public native static double qRadiansToDegrees(double radians);
/**
*
* @param radians
* @return
*/
public native static float qRadiansToDegrees(float radians);
/**
* See qSin<T>(T)
* @param v
* @return
*/
public native static double qSin(double v);
/**
* See qSin<T>(T)
* @param v
* @return
*/
public native static float qSin(float v);
/**
* See qSqrt<T>(T)
* @param v
* @return
*/
public native static double qSqrt(double v);
/**
* See qSqrt<T>(T)
* @param v
* @return
*/
public native static float qSqrt(float v);
/**
* See qTan<T>(T)
* @param v
* @return
*/
public native static double qTan(double v);
/**
* See qTan<T>(T)
* @param v
* @return
*/
public native static float qTan(float v);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy