FreeFOAM The Cross-Platform CFD Toolkit
indexedOctree< Type >::node Class Reference

#include <src/meshTools/indexedOctree/indexedOctree.H>


Detailed Description

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

Definition at line 89 of file indexedOctree.H.

+ Collaboration diagram for indexedOctree< Type >::node:

List of all members.

Public Attributes

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

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)

Friends And Related Function Documentation

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

Definition at line 102 of file indexedOctree.H.

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

Definition at line 108 of file indexedOctree.H.

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

Definition at line 113 of file indexedOctree.H.

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

Definition at line 121 of file indexedOctree.H.


Member Data Documentation

Bounding box of this node.

Definition at line 94 of file indexedOctree.H.

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

label parent_

parent node (index into nodes_ of tree)

Definition at line 97 of file indexedOctree.H.

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

FixedList<labelBits, 8> subNodes_

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

Definition at line 100 of file indexedOctree.H.

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


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