Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
moab::BVHTree::TreeNode Class Reference
+ Collaboration diagram for moab::BVHTree::TreeNode:

Public Member Functions

 TreeNode (int dm, int chld, double lmx, double rmn, BoundBox &bx)
 
 TreeNode (const TreeNode &f)
 
TreeNodeoperator= (const TreeNode &f)
 

Public Attributes

unsigned int dim
 
unsigned int child
 
double Lmax
 
double Rmin
 
BoundBox box
 

Detailed Description

Definition at line 247 of file BVHTree.hpp.

Constructor & Destructor Documentation

◆ TreeNode() [1/2]

moab::BVHTree::TreeNode::TreeNode ( int  dm,
int  chld,
double  lmx,
double  rmn,
BoundBox bx 
)
inline

Definition at line 253 of file BVHTree.hpp.

254  : dim( dm ), child( chld ), Lmax( lmx ), Rmin( rmn ), box( bx )
255  {
256  }

◆ TreeNode() [2/2]

moab::BVHTree::TreeNode::TreeNode ( const TreeNode f)
inline

Definition at line 257 of file BVHTree.hpp.

258  {
259  dim = f.dim;
260  child = f.child;
261  Lmax = f.Lmax;
262  Rmin = f.Rmin;
263  }

References child, dim, Lmax, and Rmin.

Member Function Documentation

◆ operator=()

TreeNode& moab::BVHTree::TreeNode::operator= ( const TreeNode f)
inline

Definition at line 264 of file BVHTree.hpp.

265  {
266  dim = f.dim;
267  child = f.child;
268  Lmax = f.Lmax;
269  Rmin = f.Rmin;
270  return *this;
271  }

References child, dim, Lmax, and Rmin.

Member Data Documentation

◆ box

BoundBox moab::BVHTree::TreeNode::box

Definition at line 252 of file BVHTree.hpp.

◆ child

unsigned int moab::BVHTree::TreeNode::child

Definition at line 250 of file BVHTree.hpp.

Referenced by operator=(), and TreeNode().

◆ dim

unsigned int moab::BVHTree::TreeNode::dim

Definition at line 250 of file BVHTree.hpp.

Referenced by moab::BVHTree::find_point(), operator=(), and TreeNode().

◆ Lmax

double moab::BVHTree::TreeNode::Lmax

Definition at line 251 of file BVHTree.hpp.

Referenced by moab::BVHTree::find_point(), operator=(), and TreeNode().

◆ Rmin

double moab::BVHTree::TreeNode::Rmin

Definition at line 251 of file BVHTree.hpp.

Referenced by moab::BVHTree::find_point(), operator=(), and TreeNode().


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