MeshCore::MeshKDTree Class Reference

#include <KDTree.h>

Classes

class  Private
 

Public Member Functions

void AddPoint (Base::Vector3f &point)
 
void AddPoints (const MeshPointArray &points)
 
void AddPoints (const std::vector< Base::Vector3f > &points)
 
void Clear ()
 
PointIndex FindExact (const Base::Vector3f &p) const
 
void FindInRange (const Base::Vector3f &, float, std::vector< PointIndex > &) const
 
PointIndex FindNearest (const Base::Vector3f &p, Base::Vector3f &n, float &) const
 
PointIndex FindNearest (const Base::Vector3f &p, float max_dist, Base::Vector3f &n, float &) const
 
bool IsEmpty () const
 
 MeshKDTree ()
 
 MeshKDTree (const MeshPointArray &points)
 
 MeshKDTree (const std::vector< Base::Vector3f > &points)
 
void Optimize ()
 
 ~MeshKDTree ()
 

Constructor & Destructor Documentation

◆ MeshKDTree() [1/3]

MeshKDTree::MeshKDTree ( )

◆ MeshKDTree() [2/3]

MeshKDTree::MeshKDTree ( const std::vector< Base::Vector3f > &  points)

◆ MeshKDTree() [3/3]

◆ ~MeshKDTree()

MeshKDTree::~MeshKDTree ( )

Member Function Documentation

◆ AddPoint()

◆ AddPoints() [1/2]

◆ AddPoints() [2/2]

◆ Clear()

◆ FindExact()

◆ FindInRange()

void MeshKDTree::FindInRange ( const Base::Vector3f p,
float  range,
std::vector< PointIndex > &  indices 
) const

◆ FindNearest() [1/2]

◆ FindNearest() [2/2]

◆ IsEmpty()

◆ Optimize()


The documentation for this class was generated from the following files: