IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BoostPoint2dAdapter.h
Go to the documentation of this file.
1 // BoostPoint2dAdapter.h:
3 // ----------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_BOOSTPOINT2DADAPTER_H__
16 #define __IPSDKGEOMETRY_BOOSTPOINT2DADAPTER_H__
17 
18 #include <IPSDKGeometry/Entity/2d/Point/Point2d.h>
19 #include <boost/geometry/core/tag.hpp>
20 #include <boost/geometry/core/access.hpp>
21 #include <boost/geometry/core/cs.hpp>
22 #include <boost/geometry/core/coordinate_dimension.hpp>
23 #include <boost/geometry/core/coordinate_system.hpp>
24 #include <boost/geometry/core/coordinate_type.hpp>
25 #include <boost/geometry/geometries/register/point.hpp>
26 
29 
30 // registration of point 2d models
31 BOOST_GEOMETRY_REGISTER_POINT_2D_GET_SET(ipsdk::geom::Point2d<ipsdk::ipInt32>, ipsdk::ipInt32, boost::geometry::cs::cartesian, getX, getY, setX, setY);
32 BOOST_GEOMETRY_REGISTER_POINT_2D_GET_SET(ipsdk::geom::Point2d<ipsdk::ipUInt32>, ipsdk::ipUInt32, boost::geometry::cs::cartesian, getX, getY, setX, setY);
33 BOOST_GEOMETRY_REGISTER_POINT_2D_GET_SET(ipsdk::geom::Point2d<ipsdk::ipReal32>, ipsdk::ipReal32, boost::geometry::cs::cartesian, getX, getY, setX, setY);
34 BOOST_GEOMETRY_REGISTER_POINT_2D_GET_SET(ipsdk::geom::Point2d<ipsdk::ipReal64>, ipsdk::ipReal64, boost::geometry::cs::cartesian, getX, getY, setX, setY);
35 BOOST_GEOMETRY_REGISTER_POINT_2D(ipsdk::geom::Point2dData<ipsdk::ipInt32>, ipsdk::ipInt32, boost::geometry::cs::cartesian, _x, _y);
36 BOOST_GEOMETRY_REGISTER_POINT_2D(ipsdk::geom::Point2dData<ipsdk::ipUInt32>, ipsdk::ipUInt32, boost::geometry::cs::cartesian, _x, _y);
37 BOOST_GEOMETRY_REGISTER_POINT_2D(ipsdk::geom::Point2dData<ipsdk::ipReal32>, ipsdk::ipReal32, boost::geometry::cs::cartesian, _x, _y);
38 BOOST_GEOMETRY_REGISTER_POINT_2D(ipsdk::geom::Point2dData<ipsdk::ipReal64>, ipsdk::ipReal64, boost::geometry::cs::cartesian, _x, _y);
39 
42 
43 #endif // __IPSDKGEOMETRY_BOOSTPOINT2DADAPTER_H__
Point class associated to cartesian 2d coordinates.
Definition: GeometryEntity2dTypes.h:28
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
int32_t ipInt32
Base types definition.
Definition: BaseTypes.h:52
Lightweight structure used to store Point2d data.
Definition: GeometryEntity2dTypes.h:26
float ipReal32
Base types definition.
Definition: BaseTypes.h:56
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53