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

node of AABBTree (outside of the class to be default-constructible in its members) More...

#include <MRMesh/MRAABBTree.h>

Public Member Functions

bool leaf () const
int numLeafTris () const

Public Attributes

Box3f box
 bounding box of whole subtree
int first = 0
 the first child node, or for a leaf, the first of its triangles in leafTris()
int count = 0
 the number of children, or for a leaf, minus the number of its triangles

Detailed Description

node of AABBTree (outside of the class to be default-constructible in its members)

Member Function Documentation

◆ leaf()

bool MR::AABBTreeWideNode::leaf ( ) const
inlinenodiscard

◆ numLeafTris()

int MR::AABBTreeWideNode::numLeafTris ( ) const
inlinenodiscard

Member Data Documentation

◆ box

Box3f MR::AABBTreeWideNode::box

bounding box of whole subtree

◆ count

int MR::AABBTreeWideNode::count = 0

the number of children, or for a leaf, minus the number of its triangles

◆ first

int MR::AABBTreeWideNode::first = 0

the first child node, or for a leaf, the first of its triangles in leafTris()


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