IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
MeshWithHoles3dOperators.h
Go to the documentation of this file.
1 // MeshWithHoles3dOperators.h:
3 // ---------------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_MESHWITHHOLES3DOPERATORS_H__
16 #define __IPSDKGEOMETRY_MESHWITHHOLES3DOPERATORS_H__
17 
20 #include <IPSDKMath/Constants.h>
21 
22 namespace ipsdk {
23 namespace geom {
24 
27 
30 template <typename T>
32 operator== (const MeshWithHoles3d<T>& mesh1, const MeshWithHoles3d<T>& mesh2);
33 template <typename T>
35 operator!= (const MeshWithHoles3d<T>& mesh1, const MeshWithHoles3d<T>& mesh2);
37 
39 template <typename T>
41 compare(const MeshWithHoles3d<T>& mesh1, const MeshWithHoles3d<T>& mesh2,
42  const T epsilon = ipsdk::NumericLimits<T>::sqrt_epsilon());
43 
47 template <typename TOut, typename TIn>
48 IPSDKGEOMETRY_API boost::shared_ptr<MeshWithHoles3d<TOut> >
49 cast(const MeshWithHoles3d<TIn>& inputMesh);
51 
53 template <typename T>
54 IPSDKGEOMETRY_API std::ostream&
55 operator<< (std::ostream& os, const MeshWithHoles3d<T>& mesh);
56 
59 
60 } // end of namespace geom
61 } // end of namespace ipsdk
62 
63 #endif // __IPSDKGEOMETRY_MESHWITHHOLES3DOPERATORS_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.
Definition of import/export macro for library.
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
Predefined types for mesh with holes 3d management.
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