Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GeoBoostPolygonApi.h
Go to the documentation of this file.
1 
8 #ifndef LIMBO_GEOMETRY_GEOBOOSTPOLYGONAPI_H
9 #define LIMBO_GEOMETRY_GEOBOOSTPOLYGONAPI_H
10 
11 #include <boost/polygon/polygon.hpp>
12 
14 namespace limbo
15 {
17 namespace geometry
18 {
19 
20 namespace gtl = boost::polygon;
21 
26 bool polygon2RectangleBoost(std::vector<gtl::point_data<int> > const& vPoint, std::vector<gtl::rectangle_data<int> >& vRectangle);
31 bool polygon2RectangleBoost(gtl::polygon_90_data<int> const& polygon, std::vector<gtl::rectangle_data<int> >& vRectangle);
32 
33 } // namespace geometry
34 } // namespace limbo
35 
36 #endif
namespace for Limbo
Definition: GraphUtility.h:22
bool polygon2RectangleBoost(std::vector< gtl::point_data< int > > const &vPoint, std::vector< gtl::rectangle_data< int > > &vRectangle)
this function takes a set of points describing a rectilinear polygon and decomposes it into rectangle...