IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
PhiTheta.h
1 // PhiTheta.h:
3 // -----------
4 //
15 
16 #ifndef __IPSDKMATH_PHITHETA_H__
17 #define __IPSDKMATH_PHITHETA_H__
18 
20 #include <IPSDKUtil/BaseTypes.h>
21 #include <vector>
22 
23 namespace ipsdk {
24 namespace math {
25 
28 
29 struct PhiTheta
30 {
31  ipReal64 _phi;
32  ipReal64 _theta;
33 
34  PhiTheta(ipReal64 phi=.0, ipReal64 theta=.0) : _phi(phi), _theta(theta) {}
35 
36  int operator==(const PhiTheta& other) const
37  {
38  return _phi == other._phi && _theta == other._theta;
39  }
40 };
41 
43 typedef std::vector<PhiTheta> PhiThetaColl;
44 
47 
48 } // end of namespace math
49 } // end of namespace ipsdk
50 
51 #endif // __IPSDKMATH_PHITHETA_H__
std::vector< PhiTheta > PhiThetaColl
collection of phi theta data
Definition: PhiTheta.h:43
Definition of import/export macro for library.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
Base types for multiplatform compatibility.
structure PhiTheta, containing the angles used for a spheric representation. Angles _phi and _theta a...
Definition: PhiTheta.h:29