ug4
octree.h File Reference

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 
 ug::node_tree
 

Functions

SPCollisionTreeRootNode ug::node_tree::CreateOctree (vector3 *points, size_t numPoints, int *elemInds, size_t numElemInds, int numIndsPerElem, CollisionElementID *elemIDs, int maxDepth, int elemThreshold, bool bLoose)
 Creates an Octree from a list of elements. More...
 
void ug::node_tree::CreateSubOctrees (BoxedGroupNode *parentNode, vector3 *points, size_t numPoints, int *elemInds, size_t numElemInds, int numIndsPerElem, CollisionElementID *elemIDs, int maxDepth, int elemThreshold, bool bLoose)
 Creates sub-trees of an Octree. More...