All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
indexedOctree< Type >::node Class Reference

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

Collaboration diagram for indexedOctree< 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::indexedOctree< Type >::node

Tree node. Has up pointer and down pointers.

Definition at line 78 of file indexedOctree.H.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 91 of file indexedOctree.H.

◆ operator>>

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

Definition at line 97 of file indexedOctree.H.

◆ operator==

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

Definition at line 102 of file indexedOctree.H.

◆ operator!=

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

Definition at line 110 of file indexedOctree.H.

Member Data Documentation

◆ bb_

Bounding box of this node.

Definition at line 83 of file indexedOctree.H.

◆ parent_

label parent_

Parent node (index into nodes_ of tree)

Definition at line 86 of file indexedOctree.H.

◆ subNodes_

FixedList<labelBits, 8> subNodes_

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

Definition at line 89 of file indexedOctree.H.


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