38 #ifndef MESH_MAP__NANOFLANN_MESH_ADAPTOR_H 39 #define MESH_MAP__NANOFLANN_MESH_ADAPTOR_H 60 if (dim == 0)
return vertex.
x;
61 else if (dim == 1)
return vertex.
y;
bool containsVertex(VertexHandle vH) const
const lvr2::HalfEdgeMesh< lvr2::BaseVector< float > > & mesh
bool kdtree_get_bbox(BBOX &) const
NanoFlannMeshAdaptor(const lvr2::HalfEdgeMesh< lvr2::BaseVector< float >> &mesh)
The constructor that sets the data set source.
lvr2::Index kdtree_get_point_count() const
Index nextVertexIndex() const
BaseVecT getVertexPosition(VertexHandle handle) const final
float kdtree_get_pt(const lvr2::Index idx, const size_t dim) const