IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
Angles2d.h File Reference

Utility functions used to handle angles 2d. More...

#include <IPSDKMath/Geometry/Angles.h>
#include <IPSDKMath/Geometry/2d/Point2d.h>
#include <IPSDKMath/Tools/MathUtils.h>
#include <IPSDKMath/LinearAlgebra/LinearAlgebraTypes.h>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::math
 Namespace agregating IPSDK mathematical routines and classes.
 

Functions

template<typename TOut , typename TIn >
IPSDK_FORCEINLINE void ipsdk::math::cartesianToPolar (const TIn x, const TIn y, TOut &rho, TOut &theta)
 cartesian to polar convertion More...
 
template<typename TOut , typename TIn >
IPSDK_FORCEINLINE TOut ipsdk::math::polarToXCartesian (const TIn rho, const TIn cosTheta, const TIn sinTheta)
 polar to cartesian convertion More...
 
template<typename TOut , typename TIn >
IPSDK_FORCEINLINE TOut ipsdk::math::polarToYCartesian (const TIn rho, const TIn cosTheta, const TIn sinTheta)
 polar to cartesian convertion More...
 
template<typename TOut , typename TIn >
IPSDK_FORCEINLINE void ipsdk::math::polarToCartesian (const TIn rho, const TIn cosTheta, const TIn sinTheta, TOut &x, TOut &y)
 polar to cartesian convertion More...
 
template<typename TOut , typename TIn >
IPSDK_FORCEINLINE void ipsdk::math::polarToCartesian (const TIn rho, const TIn theta, TOut &x, TOut &y)
 polar to cartesian convertion More...
 
template<typename T >
IPSDK_FORCEINLINE void ipsdk::math::angleToMatrix (const T cosTheta, const T sinTheta, T &rxx, T &rxy, T &ryx, T &ryy)
 Convertion from angle to rotation matrix. More...
 
template<typename T >
IPSDK_FORCEINLINE void ipsdk::math::angleToMatrix (const T theta, T &rxx, T &rxy, T &ryx, T &ryy)
 Convertion from angle to rotation matrix. More...
 
IPSDK_FORCEINLINE Matrix2d ipsdk::math::angleToMatrix (const ipReal64 theta)
 Convertion from angle to rotation matrix. More...
 
template<typename T >
IPSDK_FORCEINLINE void ipsdk::math::matrixToAngle (const T rxx, const T rxy, T &theta)
 Convertion from rotation matrix to angle. More...
 
template<typename T >
IPSDK_FORCEINLINE void ipsdk::math::matrixToAngle (const T rxx, const T rxy, const T ryx, const T ryy, T &theta)
 Convertion from rotation matrix to angle. More...
 
IPSDK_FORCEINLINE ipReal64 ipsdk::math::matrixToAngle (const Matrix2d &matRot)
 Convertion from rotation matrix to angle. More...
 
template<typename T >
IPSDK_FORCEINLINE void ipsdk::math::rotate2d (const T xIn, const T yIn, const ipReal64 cosTheta, const ipReal64 sinTheta, T &xOut, T &yOut)
 rotation of a point using a rotation angle (rotation around origin) More...
 
template<typename T >
IPSDK_FORCEINLINE void ipsdk::math::rotate2dInSitu (const ipReal64 cosTheta, const ipReal64 sinTheta, T &x, T &y)
 rotation of a point using a rotation angle (rotation around origin) More...
 
template<typename T >
IPSDK_FORCEINLINE void ipsdk::math::rotate2d (const T xIn, const T yIn, const ipReal64 theta, T &xOut, T &yOut)
 rotation of a point using a rotation angle (rotation around origin) More...
 

Detailed Description

Utility functions used to handle angles 2d.

Author
E. Noirfalise
Date
2015/04/17