IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Vector2dOperators.h
Go to the documentation of this file.
1 // Vector2dOperators.h:
3 // --------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_VECTOR2DOPERATORS_H__
16 #define __IPSDKGEOMETRY_VECTOR2DOPERATORS_H__
17 
19 #include <IPSDKMath/Constants.h>
20 
21 namespace ipsdk {
22 namespace geom {
23 
24 class Vector2d;
25 
28 
33 compare(const Vector2d& vec1, const Vector2d& vec2,
35 
39 operator== (const Vector2d& v1, const Vector2d& v2);
41 operator!= (const Vector2d& v1, const Vector2d& v2);
43 operator< (const Vector2d& v1, const Vector2d& v2);
45 operator> (const Vector2d& v1, const Vector2d& v2);
47 operator<= (const Vector2d& v1, const Vector2d& v2);
49 operator>= (const Vector2d& v1, const Vector2d& v2);
51 
54 operator*(const ipReal64 value, const Vector2d& vec);
55 
57 IPSDKGEOMETRY_API std::ostream&
58 operator<< (std::ostream& os, const Vector2d& vec);
59 
62 
63 } // end of namespace geom
64 } // end of namespace ipsdk
65 
66 #endif // __IPSDKGEOMETRY_VECTOR2DOPERATORS_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
IPSDKGEOMETRY_API Point2d< T > operator*(const ipReal64 value, const Point2d< T > &pt)
arithmetic operators on point
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
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.
IPSDKGEOMETRY_API bool operator<=(const BoundingBox2d< T > &boundingBox1, const BoundingBox2d< T > &boundingBox2)
comparison operators for ipsdk::geom::BoundingBox2d class
Definition of import/export macro for library.
#define IPSDKGEOMETRY_API
Import/Export macro for library IPSDKGeometry.
Definition: IPSDKGeometryExports.h:25
IPSDKGEOMETRY_API std::ostream & operator<<(std::ostream &os, const BoundingBox2d< T > &boundingBox)
output operator on bounding box
IPSDKGEOMETRY_API bool operator<(const BoundingBox2d< T > &boundingBox1, const BoundingBox2d< T > &boundingBox2)
comparison operators for ipsdk::geom::BoundingBox2d class
IPSDKGEOMETRY_API bool operator==(const BoundingBox2d< T > &boundingBox1, const BoundingBox2d< T > &boundingBox2)
comparison operators for ipsdk::geom::BoundingBox2d class
boost::numeric::ublas::bounded_vector< ipReal64, 2 > Vector2d
2d vector type associated to library
Definition: LinearAlgebraTypes.h:39