MIRA
|
Simple Wrapper for Boost::geometry polygon. More...
#include <serialization/adapters/std/vector>
#include <boost/geometry/geometries/register/ring.hpp>
#include <geometry/Point.h>
Go to the source code of this file.
Classes | |
class | IsCollection< boost::geometry::model::ring< PointType > > |
Namespaces | |
mira | |
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec> | |
Typedefs | |
typedef boost::geometry::model::ring < Point2i > | Polygon2i |
A 2D polygon with integer precision. More... | |
typedef boost::geometry::model::ring < Point2f > | Polygon2f |
A 2D polygon with 32 bit floating precision. More... | |
typedef boost::geometry::model::ring < Point2d > | Polygon2d |
A 2D polygon with 64 bit floating precision. More... | |
typedef boost::geometry::model::ring < Point3i > | Polygon3i |
A 3D polygon with integer precision. More... | |
typedef boost::geometry::model::ring < Point3f > | Polygon3f |
A 3D polygon with 32 bit floating precision. More... | |
typedef boost::geometry::model::ring < Point3d > | Polygon3d |
A 3D polygon with 64 bit floating precision. More... | |
Functions | |
template<typename PointType > | |
boost::geometry::model::ring < PointType > | createTriangle (const PointType &p1, const PointType &p2, const PointType &p3) |
The polygon is essentially a sequence of points with an edge also connecting the first and last point. More... | |
template<typename LineType > | |
boost::geometry::model::ring < typename LineType::PointType > | polygonFromLine (const LineType &line) |
Converts a line into a polygon. More... | |
template<typename Reflector , typename PointType > | |
void | reflect (Reflector &r, boost::geometry::model::ring< PointType > &p) |
non-intrusive reflect for boost::geometry::ring More... | |
Simple Wrapper for Boost::geometry polygon.