IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Mesh3dOperators.h
Go to the documentation of this file.
1 // Mesh3dOperators.h:
3 // ------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_MESH3DOPERATORS_H__
16 #define __IPSDKGEOMETRY_MESH3DOPERATORS_H__
17 
20 #include <IPSDKMath/Constants.h>
21 
22 namespace ipsdk {
23 namespace geom {
24 
27 
31 operator== (const Mesh3dHalfEdge& halfEdge1, const Mesh3dHalfEdge& halfEdge2);
33 operator!= (const Mesh3dHalfEdge& halfEdge1, const Mesh3dHalfEdge& halfEdge2);
35 
38 template <typename T>
40 operator== (const Mesh3d<T>& mesh1, const Mesh3d<T>& mesh2);
41 template <typename T>
43 operator!= (const Mesh3d<T>& mesh1, const Mesh3d<T>& mesh2);
45 
47 template <typename T>
49 compare(const Mesh3d<T>& mesh1, const Mesh3d<T>& mesh2,
50  const T epsilon = ipsdk::NumericLimits<T>::sqrt_epsilon());
51 
55 template <typename TOut, typename TIn>
56 IPSDKGEOMETRY_API Mesh3d<TOut>
57 cast(const Mesh3d<TIn>& inputMesh);
58 template <typename TOut, typename TIn>
60 cast(const Mesh3d<TIn>& inputMesh,
61  Mesh3d<TOut>& outputMesh);
63 
65 template <typename T>
66 IPSDKGEOMETRY_API std::ostream&
67 operator<< (std::ostream& os, const Mesh3d<T>& mesh);
68 
71 
72 } // end of namespace geom
73 } // end of namespace ipsdk
74 
75 #endif // __IPSDKGEOMETRY_MESH3DOPERATORS_H__
IPSDKGEOMETRY_API bool compare(const BoundingBox2d< T > &boundingBox1, const BoundingBox2d< T > &boundingBox2, const T epsilon=ipsdk::NumericLimits< T >::sqrt_epsilon())
function allowing to compare bounding box
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKGEOMETRY_API bool operator!=(const BoundingBox2d< T > &boundingBox1, const BoundingBox2d< T > &boundingBox2)
comparison operators for ipsdk::geom::BoundingBox2d class
Definition: NumericLimits.h:27
Predefined constants for ipsdk math library.
Predefined types for mesh 3d management.
Definition of import/export macro for library.
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
IPSDKGEOMETRY_API bool operator==(const BoundingBox2d< T > &boundingBox1, const BoundingBox2d< T > &boundingBox2)
comparison operators for ipsdk::geom::BoundingBox2d class
IPSDKGEOMETRY_API Point2d< TOut > cast(const Point2d< TIn > &pt)
conversion operators for ipsdk::geom::Point2d class