IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Classes | Namespaces | Functions
BoundingBox2dFunctions.h File Reference

Utility functions for bounding box 2d management. More...

#include <IPSDKGeometry/IPSDKGeometryExports.h>
#include <IPSDKUtil/BaseTypes.h>

Go to the source code of this file.

Classes

class  ipsdk::geom::BoundingBox2d< T >
 Rectangular 2d bounding box class associated to cartesian 2d coordinates. More...
 

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::geom
 Namespace aggregating geometrical routines and classes.
 

Functions

template<typename T >
IPSDKGEOMETRY_API bool ipsdk::geom::intersect (const BoundingBox2d< T > &bBox0, const BoundingBox2d< T > &bBox1)
 check whether two bounding boxes intersect with non null intersection
 
template<typename T >
IPSDKGEOMETRY_API bool ipsdk::geom::intersectOrTouch (const BoundingBox2d< T > &bBox0, const BoundingBox2d< T > &bBox1)
 check whether two bounding boxes intersect or are in touch
 
template<typename T >
IPSDKGEOMETRY_API bool ipsdk::geom::isContained (const BoundingBox2d< T > &bBoxInside, const BoundingBox2d< T > &bBoxOutside)
 check whether a bounding boxe is contained by another (check whether bBoxInside is contained by bBoxOutside) More...
 
template<typename T >
IPSDKGEOMETRY_API bool ipsdk::geom::isContainedOrTouch (const BoundingBox2d< T > &bBoxInside, const BoundingBox2d< T > &bBoxOutside)
 check whether a bounding boxe is contained by another (check whether bBoxInside is contained by bBoxOutside) More...
 
template<typename T >
IPSDKGEOMETRY_API BoundingBox2d< T > ipsdk::geom::intersection (const BoundingBox2d< T > &bBox0, const BoundingBox2d< T > &bBox1)
 compute bounding boxes intersection
 
template<typename T >
IPSDKGEOMETRY_API void ipsdk::geom::intersection (const BoundingBox2d< T > &bBox0, const BoundingBox2d< T > &bBox1, BoundingBox2d< T > &resBBox)
 compute bounding boxes intersection
 
template<typename T >
IPSDKGEOMETRY_API BoundingBox2d< T > ipsdk::geom::merge (const BoundingBox2d< T > &bBox0, const BoundingBox2d< T > &bBox1)
 compute bounding box including two bounding boxes
 
template<typename T >
IPSDKGEOMETRY_API void ipsdk::geom::merge (const BoundingBox2d< T > &bBox0, const BoundingBox2d< T > &bBox1, BoundingBox2d< T > &resBBox)
 compute bounding box including two bounding boxes
 

Detailed Description

Utility functions for bounding box 2d management.

Author
E.Noirfalise
Date
2016/07/22