40 #include <pcl/point_cloud.h>
42 #include "planar_polygon.h"
48 template <
typename Po
intT>
51 PlanarPolygon<PointT>& approx_polygon,
68 template <
typename Po
intT>
78 #include "impl/polygon_operations.hpp"
std::vector< PointT, Eigen::aligned_allocator< PointT > > VectorType
void approximatePolygon2D(const typename PointCloud< PointT >::VectorType &polygon, typename PointCloud< PointT >::VectorType &approx_polygon, float threshold, bool refine=false, bool closed=true)
returns an approximate polygon to given 2D contour.
void approximatePolygon(const PlanarPolygon< PointT > &polygon, PlanarPolygon< PointT > &approx_polygon, float threshold, bool refine=false, bool closed=true)
see approximatePolygon2D