Public Attributes | Friends | List of all members
indexedOctree< Type >::node Class Reference

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

Collaboration diagram for indexedOctree< Type >::node:
Collaboration graph
[legend]

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

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

Definition at line 91 of file indexedOctree.H.

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

Definition at line 97 of file indexedOctree.H.

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

Definition at line 102 of file indexedOctree.H.

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

Definition at line 110 of file indexedOctree.H.

Member Data Documentation

label parent_

Parent node (index into nodes_ of tree)

Definition at line 86 of file indexedOctree.H.

Referenced by indexedOctree< Type >::overlaps(), and indexedOctree< Type >::print().

FixedList<labelBits, 8> subNodes_

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