23 template <
typename Derived>
42 if (dim == 0)
return derived()[idx]->GetObject()->GetCorrectedPose().GetX();
43 else return derived()[idx]->GetObject()->GetCorrectedPose().GetY();
55 template <
typename Derived>
68 if (dim == 0)
return derived()[idx]->GetObject()->GetBarycenterPose().GetX();
69 else return derived()[idx]->GetObject()->GetBarycenterPose().GetY();
const Derived & obj
A const ref to the data set origin.
size_t kdtree_get_point_count() const
bool kdtree_get_bbox(BBOX &) const
double kdtree_get_pt(const size_t idx, const size_t dim) const
double kdtree_get_pt(const size_t idx, const size_t dim) const
bool kdtree_get_bbox(BBOX &) const
VertexVectorPoseNanoFlannAdaptor(const Derived &obj_)
The constructor that sets the data set source.
const Derived & derived() const
CRTP helper method.
const Derived & derived() const
size_t kdtree_get_point_count() const
VertexVectorScanCenterNanoFlannAdaptor(const Derived &obj_)