indexedOctree< Type >::node Class Reference

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

Collaboration diagram for indexedOctree< Type >::node:
[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 80 of file indexedOctree.H.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 93 of file indexedOctree.H.

◆ operator>>

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

Definition at line 99 of file indexedOctree.H.

◆ operator==

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

Definition at line 104 of file indexedOctree.H.

◆ operator!=

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

Definition at line 112 of file indexedOctree.H.

Member Data Documentation

◆ bb_

Bounding box of this node.

Definition at line 85 of file indexedOctree.H.

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

◆ parent_

label parent_

Parent node (index into nodes_ of tree)

Definition at line 88 of file indexedOctree.H.

Referenced by indexedOctree< Type >::print().

◆ subNodes_


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