IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BoundingBox3dFunctions.h
Go to the documentation of this file.
1 // BoundingBox3dFunctions.h:
3 // -------------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_BOUNDINGBOX3DFUNCTIONS_H__
16 #define __IPSDKGEOMETRY_BOUNDINGBOX3DFUNCTIONS_H__
17 
19 #include <IPSDKUtil/BaseTypes.h>
20 
21 namespace ipsdk {
22 namespace geom {
23 
24 template <typename T>
25 class BoundingBox3d;
26 
29 
32 template <typename T>
33 IPSDKGEOMETRY_API BoundingBox3d<T>
34 intersection(const BoundingBox3d<T>& bBox0,
35  const BoundingBox3d<T>& bBox1);
36 template <typename T>
38 intersection(const BoundingBox3d<T>& bBox0,
39  const BoundingBox3d<T>& bBox1,
40  BoundingBox3d<T>& resBBox);
42 
45 template <typename T>
46 IPSDKGEOMETRY_API BoundingBox3d<T>
47 merge(const BoundingBox3d<T>& bBox0,
48  const BoundingBox3d<T>& bBox1);
49 template <typename T>
51 merge(const BoundingBox3d<T>& bBox0,
52  const BoundingBox3d<T>& bBox1,
53  BoundingBox3d<T>& resBBox);
55 
57 template <typename T>
59 intersect(const BoundingBox3d<T>& bBox0,
60  const BoundingBox3d<T>& bBox1);
61 
63 template <typename T>
65 intersectOrTouch(const BoundingBox3d<T>& bBox0,
66  const BoundingBox3d<T>& bBox1);
67 
71 template <typename T>
73 isContained(const BoundingBox3d<T>& bBoxInside,
74  const BoundingBox3d<T>& bBoxOutside);
75 
79 template <typename T>
81 isContainedOrTouch(const BoundingBox3d<T>& bBoxInside,
82  const BoundingBox3d<T>& bBoxOutside);
83 
86 
87 } // end of namespace geom
88 } // end of namespace ipsdk
89 
90 #endif // __IPSDKGEOMETRY_BOUNDINGBOX3DFUNCTIONS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKGEOMETRY_API bool isContainedOrTouch(const BoundingBox2d< T > &bBoxInside, const BoundingBox2d< T > &bBoxOutside)
check whether a bounding boxe is contained by another (check whether bBoxInside is contained by bBoxO...
Definition of import/export macro for library.
Base types for multiplatform compatibility.
IPSDKGEOMETRY_API bool intersect(const BoundingBox2d< T > &bBox0, const BoundingBox2d< T > &bBox1)
check whether two bounding boxes intersect with non null intersection
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
IPSDKGEOMETRY_API bool isContained(const BoundingBox2d< T > &bBoxInside, const BoundingBox2d< T > &bBoxOutside)
check whether a bounding boxe is contained by another (check whether bBoxInside is contained by bBoxO...
IPSDKGEOMETRY_API BoundingBox2d< T > intersection(const BoundingBox2d< T > &bBox0, const BoundingBox2d< T > &bBox1)
compute bounding boxes intersection
IPSDKGEOMETRY_API BoundingBox2d< T > merge(const BoundingBox2d< T > &bBox0, const BoundingBox2d< T > &bBox1)
compute bounding box including two bounding boxes
IPSDKGEOMETRY_API bool intersectOrTouch(const BoundingBox2d< T > &bBox0, const BoundingBox2d< T > &bBox1)
check whether two bounding boxes intersect or are in touch