Plugins
Loading...
Searching...
No Matches
ug::d3f::LineBVHNode< dim > Struct Template Reference

Node structure for the Bounding Volume Hierarchy (BVH). More...

#include <river_sss.h>

Public Member Functions

bool is_leaf () const
 

Public Attributes

AABox< MathVector< dim > > bbox
 Total bounding box of all lines in this node/subtree.
 
std::vector< size_t > indices
 Leaf only: indices into the original line list.
 
SmartPtr< LineBVHNodeleft
 Left child node.
 
SmartPtr< LineBVHNoderight
 Right child node.
 

Detailed Description

template<int dim>
struct ug::d3f::LineBVHNode< dim >

Node structure for the Bounding Volume Hierarchy (BVH).

Member Function Documentation

◆ is_leaf()

template<int dim>
bool ug::d3f::LineBVHNode< dim >::is_leaf ( ) const
inline

Member Data Documentation

◆ bbox

template<int dim>
AABox<MathVector<dim> > ug::d3f::LineBVHNode< dim >::bbox

Total bounding box of all lines in this node/subtree.

Referenced by ug::d3f::LineBVHTree< dim, TLineData >::query_node().

◆ indices

template<int dim>
std::vector<size_t> ug::d3f::LineBVHNode< dim >::indices

Leaf only: indices into the original line list.

Referenced by ug::d3f::LineBVHTree< dim, TLineData >::query_node().

◆ left

◆ right


The documentation for this struct was generated from the following file: