MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRMesh/MRAABBTreeNode.h>

Public Types

using LeafId = typename T::LeafId
using BoxT = typename T::BoxT

Public Member Functions

bool leaf () const
 returns true if this is a leaf node without children nodes but with a LeafId reference
LeafId leafId () const
 returns face (for the leaf node only)
void setLeafId (LeafId id)

Public Attributes

BoxT box
 bounding box of whole subtree
NodeId l
NodeId r

Member Typedef Documentation

◆ BoxT

template<typename T>
using MR::AABBTreeNode< T >::BoxT = typename T::BoxT

◆ LeafId

template<typename T>
using MR::AABBTreeNode< T >::LeafId = typename T::LeafId

Member Function Documentation

◆ leaf()

template<typename T>
bool MR::AABBTreeNode< T >::leaf ( ) const
inline

returns true if this is a leaf node without children nodes but with a LeafId reference

◆ leafId()

template<typename T>
LeafId MR::AABBTreeNode< T >::leafId ( ) const
inline

returns face (for the leaf node only)

◆ setLeafId()

template<typename T>
void MR::AABBTreeNode< T >::setLeafId ( LeafId id)
inline

Member Data Documentation

◆ box

template<typename T>
BoxT MR::AABBTreeNode< T >::box

bounding box of whole subtree

◆ l

template<typename T>
NodeId MR::AABBTreeNode< T >::l

◆ r

template<typename T>
NodeId MR::AABBTreeNode< T >::r

two children


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