IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Point3dFunctions.h
Go to the documentation of this file.
1 // Point3dFunctions.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_POINT3DFUNCTIONS_H__
16 #define __IPSDKGEOMETRY_POINT3DFUNCTIONS_H__
17 
19 #include <IPSDKUtil/BaseTypes.h>
20 
21 namespace ipsdk {
22 namespace geom {
23 
24 template <typename T>
25 class Point3d;
26 template <typename T>
27 struct Point3dData;
28 class Vector3d;
29 
32 
34 template <typename T>
36 normL2(const Point3d<T>& pt);
37 
38 template <typename T>
40 normL2(const Point3dData<T>& pt);
41 
43 template <typename T>
45 distance(const Point3d<T>& pt1, const Point3d<T>& pt2);
46 
47 template <typename T>
49 distance(const Point3dData<T>& pt1, const Point3dData<T>& pt2);
50 
52 template <typename T>
54 scalarProduct(const Point3d<T>& pt1, const Point3d<T>& pt2);
55 
56 template <typename T>
58 scalarProduct(const Point3dData<T>& pt1, const Point3dData<T>& pt2);
59 
61 template <typename T>
62 IPSDKGEOMETRY_API Point3d<T>
63 crossProduct(const Point3d<T>& pt1, const Point3d<T>& pt2);
64 
65 template <typename T>
66 IPSDKGEOMETRY_API Point3dData<T>
67 crossProduct(const Point3dData<T>& pt1, const Point3dData<T>& pt2);
68 
71 
72 } // end of namespace geom
73 } // end of namespace ipsdk
74 
75 #endif // __IPSDKGEOMETRY_POINT3DFUNCTIONS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
IPSDKGEOMETRY_API ipReal64 distance(const Point2d< T > &pt1, const Point2d< T > &pt2)
compute euclidian distance between two points
Definition of import/export macro for library.
Base types for multiplatform compatibility.
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
IPSDKGEOMETRY_API ipReal64 scalarProduct(const Point2d< T > &pt1, const Point2d< T > &pt2)
compute points scalar product
Definition: Point2dFunctions.cpp:91
IPSDKGEOMETRY_API Point3d< T > crossProduct(const Point3d< T > &pt1, const Point3d< T > &pt2)
compute points cross product
boost::numeric::ublas::bounded_vector< ipReal64, 3 > Vector3d
3d vector type associated to library
Definition: LinearAlgebraTypes.h:42
IPSDKGEOMETRY_API ipReal64 normL2(const Point2d< T > &pt)
compute point norm