pmp-library  1.0

A k-d tree for triangles. More...

#include <pmp/algorithms/TriangleKdTree.h>

Classes

struct  NearestNeighbor
 nearest neighbor information More...
 

Public Member Functions

 TriangleKdTree (const SurfaceMesh &mesh, unsigned int max_faces=10, unsigned int max_depth=30)
 construct with mesh
 
 ~TriangleKdTree ()
 destructur
 
NearestNeighbor nearest (const Point &p) const
 Return handle of the nearest neighbor.
 

Detailed Description

A k-d tree for triangles.