IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Ellipse2dOperators.h
Go to the documentation of this file.
1 // EllipseOperators.h:
3 // -------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_ELLIPSE2DOPERATORS_H__
16 #define __IPSDKGEOMETRY_ELLIPSE2DOPERATORS_H__
17 
19 #include <IPSDKMath/Constants.h>
20 
21 namespace ipsdk {
22 namespace geom {
23 
24 template <typename T>
25 class Ellipse2d;
26 
29 
31 template <typename T>
32 bool
33 compare(const Ellipse2d<T>& ellipse1, const Ellipse2d<T>& ellipse2,
34  const T epsilon = ipsdk::NumericLimits<T>::sqrt_epsilon(),
35  const ipReal64 epsilonOrientation = ipsdk::NumericLimits<ipReal64>::sqrt_epsilon());
36 
39 template <typename T>
41 operator== (const Ellipse2d<T>& ellipse1, const Ellipse2d<T>& ellipse2);
42 template <typename T>
44 operator!= (const Ellipse2d<T>& ellipse1, const Ellipse2d<T>& ellipse2);
46 
48 template <typename T>
49 IPSDKGEOMETRY_API std::ostream&
50 operator<< (std::ostream& os, const Ellipse2d<T>& ellipse);
51 
54 
55 } // end of namespace geom
56 } // end of namespace ipsdk
57 
58 #endif // __IPSDKGEOMETRY_ELLIPSE2DOPERATORS_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
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
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
IPSDKGEOMETRY_API bool operator==(const BoundingBox2d< T > &boundingBox1, const BoundingBox2d< T > &boundingBox2)
comparison operators for ipsdk::geom::BoundingBox2d class