libmove3d
3.13.0
|
#include <gpKdTree.h>
Public Member Functions | |
gpKdTreeTris (p3d_polyhedre *polyhedron) | |
int | draw (unsigned int level) |
unsigned int | depth () |
int | pointCloud (double step, std::list< gpVector3D > &points) |
Friends | |
class | gpAABBTris |
A class for the Kd tree of a p3d_polyhedre.
int gpKdTreeTris::pointCloud | ( | double | step, |
std::list< gpVector3D > & | points | ||
) |
Computes a set of points inside the Kd tree volume. The set of points is obtained by computing a grid inside each of the leaf of the tree except for the leaves that are outside the polyhedron.
step | discretization step |
points | a list containing the computed points |