IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Vector3dFunctions.h
Go to the documentation of this file.
1 // Vector3dFunctions.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_VECTOR3DFUNCTIONS_H__
16 #define __IPSDKGEOMETRY_VECTOR3DFUNCTIONS_H__
17 
19 #include <IPSDKUtil/BaseTypes.h>
20 
21 namespace ipsdk {
22 namespace geom {
23 
24 class Vector3d;
25 
28 
31 distance(const Vector3d& v1, const Vector3d& v2);
32 
35 scalarProduct(const Vector3d& v1, const Vector3d& v2);
36 
39 crossProduct(const Vector3d& v1, const Vector3d& v2);
40 
43 
44 } // end of namespace geom
45 } // end of namespace ipsdk
46 
47 #endif // __IPSDKGEOMETRY_VECTOR3DFUNCTIONS_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