21 #ifndef mia_2d_polygon_hh 22 #define mia_2d_polygon_hh 48 bool is_inside_closed_set(
const C2DFVector& point)
const;
57 bool is_inside_open_set(
const C2DFVector& point)
const;
75 float get_mimimum_distance(
const C2DFVector& point)
const ;
82 float get_hausdorff_distance(
const C2DPolygon& other)
const ;
87 std::vector<C2DFVector> m_points;
A simple 2D polygon class.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
std::shared_ptr< C2DPolygon > P2DPolygon
Pointer type for 2D polygons.
#define NS_MIA_END
conveniance define to end the mia namespace