15 #ifndef __IPSDKMATH_ANGLES_H__ 16 #define __IPSDKMATH_ANGLES_H__ 33 return (M_PI / 180.) * angle;
38 return (180. / M_PI) * angle;
74 #endif // __IPSDKMATH_ANGLES_H__ Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDK_FORCEINLINE ipReal64 degToRad(const ipReal64 angle)
convertion functions between radians and degrees
Definition: Angles.h:31
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
Predefined constants for ipsdk math library.
IPSDK_FORCEINLINE ipReal64 modulo(const ipReal64 angle, const ipReal64 modulo)
function allowing to compute modulo of an angle
Definition: Angles.h:45
Base types for multiplatform compatibility.
IPSDK_FORCEINLINE ipReal64 radToDeg(const ipReal64 angle)
convertion functions between radians and degrees
Definition: Angles.h:36
IPSDK_FORCEINLINE ipReal64 centerModulo(const ipReal64 angle, const ipReal64 modulo)
function allowing to compute centered modulo of an angle
Definition: Angles.h:57