Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
Assimp::Math Namespace Reference

Functions

template<class T >
aiPi ()
 Will return the constant PI for the requested type. More...
 
template<typename IntegerType >
IntegerType gcd (IntegerType a, IntegerType b)
 Will return the greatest common divisor. More...
 
template<class T >
getEpsilon ()
 Will return the smallest epsilon-value for the requested type. More...
 
template<typename IntegerType >
IntegerType lcm (IntegerType a, IntegerType b)
 Will return the greatest common divisor. More...
 

Function Documentation

◆ aiPi()

template<class T >
T Assimp::Math::aiPi ( )
inline

Will return the constant PI for the requested type.

Returns
Pi

◆ gcd()

template<typename IntegerType >
IntegerType Assimp::Math::gcd ( IntegerType  a,
IntegerType  b 
)
inline

Will return the greatest common divisor.

Parameters
a[in] Value a.
b[in] Value b.
Returns
The greatest common divisor.

◆ getEpsilon()

template<class T >
T Assimp::Math::getEpsilon ( )
inline

Will return the smallest epsilon-value for the requested type.

Returns
The numercical limit epsilon depending on its type.

◆ lcm()

template<typename IntegerType >
IntegerType Assimp::Math::lcm ( IntegerType  a,
IntegerType  b 
)
inline

Will return the greatest common divisor.

Parameters
a[in] Value a.
b[in] Value b.
Returns
The greatest common divisor.