All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QtMath Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
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); /** *

See qAtan2<T1,T2>(T1,T2)

*/ public native static double qAtan2(double y, double x); /** *

See qAtan2<T1,T2>(T1,T2)

*/ 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); /** *

See qDegreesToRadians(double)

*/ public native static double qDegreesToRadians(double degrees); /** *

See qDegreesToRadians(float)

*/ 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); /** *

See qHypot<Tx,Ty>(Tx,Ty)

*/ public native static double qHypot(double x, double y); /** *

See qHypot<Tx,Ty>(Tx,Ty)

*/ 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); /** *

See qNextPowerOfTwo(qint32)

*/ public native static int qNextPowerOfTwo(int v); /** *

See qNextPowerOfTwo(qint64)

*/ public native static long qNextPowerOfTwo(long v); /** *

See qPow<T1,T2>(T1,T2)

*/ public native static double qPow(double x, double y); /** *

See qPow<T1,T2>(T1,T2)

*/ public native static float qPow(float x, float y); /** *

See qRadiansToDegrees(double)

*/ public native static double qRadiansToDegrees(double radians); /** *

See qRadiansToDegrees(float)

*/ 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); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy