dynamicIndexedOctree< Type >::node Class Reference

Tree node. Has up pointer and down pointers. More...

Collaboration diagram for dynamicIndexedOctree< Type >::node:

Public Attributes

treeBoundBox bb_
 Bounding box of this node. More...
 
label parent_
 Parent node (index into nodes_ of tree) More...
 
FixedList< labelBits, 8 > subNodes_
 IDs of the 8 nodes on all sides of the mid point. More...
 

Friends

Ostreamoperator<< (Ostream &os, const node &n)
 
Istreamoperator>> (Istream &is, node &n)
 
bool operator== (const node &a, const node &b)
 
bool operator!= (const node &a, const node &b)
 

Detailed Description

template<class Type>
class Foam::dynamicIndexedOctree< Type >::node

Tree node. Has up pointer and down pointers.

Definition at line 87 of file dynamicIndexedOctree.H.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const node n 
)
friend

Definition at line 100 of file dynamicIndexedOctree.H.

◆ operator>>

Istream& operator>> ( Istream is,
node n 
)
friend

Definition at line 106 of file dynamicIndexedOctree.H.

◆ operator==

bool operator== ( const node a,
const node b 
)
friend

Definition at line 111 of file dynamicIndexedOctree.H.

◆ operator!=

bool operator!= ( const node a,
const node b 
)
friend

Definition at line 119 of file dynamicIndexedOctree.H.

Member Data Documentation

◆ bb_

Bounding box of this node.

Definition at line 92 of file dynamicIndexedOctree.H.

◆ parent_

label parent_

Parent node (index into nodes_ of tree)

Definition at line 95 of file dynamicIndexedOctree.H.

◆ subNodes_

FixedList<labelBits, 8> subNodes_

IDs of the 8 nodes on all sides of the mid point.

Definition at line 98 of file dynamicIndexedOctree.H.


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