Limbo 3.5.4
Loading...
Searching...
No Matches
GeoBoostPolygonApi.h
Go to the documentation of this file.
1
7
8#ifndef LIMBO_GEOMETRY_GEOBOOSTPOLYGONAPI_H
9#define LIMBO_GEOMETRY_GEOBOOSTPOLYGONAPI_H
10
11#include <boost/polygon/polygon.hpp>
12
14namespace limbo
15{
17namespace geometry
18{
19
20namespace gtl = boost::polygon;
21
26bool polygon2RectangleBoost(std::vector<gtl::point_data<int> > const& vPoint, std::vector<gtl::rectangle_data<int> >& vRectangle);
31bool 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.Geometry
Definition Geometry.h:21
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...
namespace for Limbo