Easy3D 2.5.3
|
A k-d tree for triangular surface meshes. More...
#include <easy3d/algo/triangle_mesh_kdtree.h>
Classes | |
struct | NearestNeighbor |
nearest neighbor information More... | |
Public Member Functions | |
TriangleMeshKdTree (const SurfaceMesh *mesh, unsigned int max_faces=10, unsigned int max_depth=30) | |
construct with mesh | |
NearestNeighbor | nearest (const vec3 &p) const |
Return handle of the nearest neighbor. | |
A k-d tree for triangular surface meshes.