libmove3d  3.13.0
Public Member Functions | Friends
gpKdTreeTris Class Reference

#include <gpKdTree.h>

List of all members.

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

Detailed Description

A class for the Kd tree of a p3d_polyhedre.


Member Function Documentation

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.

Parameters:
stepdiscretization step
pointsa list containing the computed points
Returns:
GP_OK in case of success, GP_ERROR otherwise

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines