IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
BoostSegment2dAdapter.h
Go to the documentation of this file.
1 // BoostSegment2dAdapter.h:
3 // ------------------------
4 //
14 
15 #ifndef __IPSDKGEOMETRY_BOOSTSEGMENT2DADAPTER_H__
16 #define __IPSDKGEOMETRY_BOOSTSEGMENT2DADAPTER_H__
17 
18 #include <IPSDKGeometry/Entity/2d/Segment/Segment2d.h>
20 #include <boost/geometry/core/tag.hpp>
21 #include <boost/geometry/core/access.hpp>
22 #include <boost/geometry/core/cs.hpp>
23 #include <boost/geometry/core/coordinate_dimension.hpp>
24 #include <boost/geometry/core/coordinate_system.hpp>
25 #include <boost/geometry/core/coordinate_type.hpp>
26 #include <boost/geometry/geometries/register/segment.hpp>
27 
30 
31 // registration of segment 2d models
32 BOOST_GEOMETRY_REGISTER_SEGMENT(ipsdk::geom::Segment2d<ipsdk::ipInt32>, ipsdk::geom::Point2dData<ipsdk::ipInt32>, getPoint0(), getPoint1());
33 BOOST_GEOMETRY_REGISTER_SEGMENT(ipsdk::geom::Segment2d<ipsdk::ipUInt32>, ipsdk::geom::Point2dData<ipsdk::ipUInt32>, getPoint0(), getPoint1());
34 BOOST_GEOMETRY_REGISTER_SEGMENT(ipsdk::geom::Segment2d<ipsdk::ipReal32>, ipsdk::geom::Point2dData<ipsdk::ipReal32>, getPoint0(), getPoint1());
35 BOOST_GEOMETRY_REGISTER_SEGMENT(ipsdk::geom::Segment2d<ipsdk::ipReal64>, ipsdk::geom::Point2dData<ipsdk::ipReal64>, getPoint0(), getPoint1());
36 
39 
40 #endif // __IPSDKGEOMETRY_BOOSTSEGMENT2DADAPTER_H__
2d segment associated to two points
Definition: Segment2d.h:38
Points 2d adapters for boost geometry library.
Lightweight structure used to store Point2d data.
Definition: GeometryEntity2dTypes.h:26