Open CASCADE Technology
Data Structures
BVH_IndexedBoxSet.hxx File Reference
#include <BVH_BoxSet.hxx>

Data Structures

class  BVH_IndexedBoxSet< NumType, Dimension, DataType >
 Implements easy to use interfaces for adding the elements into BVH tree and its following construction. To make it more effective it is better to set the number of elements that are going to be added into BVH tree. It uses the indirect indexing for accessing the elements and their boxes which allows using heavy data types as elements with better efficiency during BVH construction and just a bit slower selection time. Due to better BVH tree construction time the class will be more efficient than BVH_BoxSet on the operations where just a few selections from the tree required. More...