15 #ifndef __IPSDKGEOMETRY_POLYGON2DOPERATORS_H__ 16 #define __IPSDKGEOMETRY_POLYGON2DOPERATORS_H__ 34 operator== (
const Polygon2d<T>& polygon1,
const Polygon2d<T>& polygon2);
37 operator!= (
const Polygon2d<T>& polygon1,
const Polygon2d<T>& polygon2);
43 compare(
const Polygon2d<T>& polygon1,
const Polygon2d<T>& polygon2,
49 template <
typename TOut,
typename TIn>
51 cast(
const Polygon2d<TIn>& inputPolygon);
52 template <
typename TOut,
typename TIn>
54 cast(
const Polygon2d<TIn>& inputPolygon,
55 Polygon2d<TOut>& outputPolygon);
61 operator<< (std::ostream& os, const Polygon2d<T>& polygon);
70 const std::string& dataStr);
78 #endif // __IPSDKGEOMETRY_POLYGON2DOPERATORS_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
IPSDKGEOMETRY_API void fromString(Polygon2d< T > &polygon, const std::string &dataStr)
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