struct PointCloud2D
Overview
Minimal 2D point cloud adapter for KDTreeCapable.
struct PointCloud2D: public mrpt::math::KDTreeCapable { // fields std::vector<mrpt::math::TPoint2D> pts; // methods size_t kdtree_get_point_count() const; float kdtree_get_pt( size_t idx, int dim ) const; template <class BBOX> bool kdtree_get_bbox(BBOX&) const; };
Inherited Members
public: // structs template <int _DIM = -1> struct TKDTreeDataHolder; struct TKDTreeSearchParams; // methods KDTreeCapable& operator = (const KDTreeCapable&);