Class TriangleKdTree

Nested Relationships

Nested Types

Class Documentation

class TriangleKdTree

A k-d tree for triangles.

Public Functions

TriangleKdTree(const SurfaceMesh &mesh, unsigned int max_faces = 10, unsigned int max_depth = 30)

Construct with mesh.

inline ~TriangleKdTree()

destructor

NearestNeighbor nearest(const Point &p) const

Return handle of the nearest neighbor.

struct NearestNeighbor

nearest neighbor information

Public Members

Scalar dist
Face face
Point nearest
int tests