FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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

Ostream &  operator<< (Ostream &os, const node &n)
Istream &  operator>> (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

label parent_

parent node (index into nodes_ of tree)

Definition at line 97 of file indexedOctree.H.

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

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: