Tree node. Has up pointer and down pointers. More...
Public Attributes | |
treeBoundBox | bb_ |
Bounding box of this node. More... | |
label | parent_ = -1 |
Parent node (index into flat list addressing for tree) More... | |
FixedList< labelBits, 8 > | subNodes_ |
IDs of the 8 nodes on all sides of the mid point. More... | |
Static Public Attributes | |
static constexpr direction | nChildren = 8 |
Has exactly 8 sub-nodes (octants) More... | |
Friends | |
bool | operator== (const node &a, const node &b) |
bool | operator!= (const node &a, const node &b) |
Ostream & | operator<< (Ostream &os, const node &n) |
Istream & | operator>> (Istream &is, node &n) |
Tree node. Has up pointer and down pointers.
Definition at line 77 of file indexedOctree.H.
Definition at line 104 of file indexedOctree.H.
Definition at line 114 of file indexedOctree.H.
Definition at line 119 of file indexedOctree.H.
Definition at line 125 of file indexedOctree.H.
|
static |
Has exactly 8 sub-nodes (octants)
Definition at line 84 of file indexedOctree.H.
treeBoundBox bb_ |
Bounding box of this node.
Definition at line 89 of file indexedOctree.H.
Referenced by dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::findNearest(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::findNearest(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::findNode(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::findNode(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::print(), and indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::print().
label parent_ = -1 |
Parent node (index into flat list addressing for tree)
Definition at line 94 of file indexedOctree.H.
Referenced by dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::print(), and indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::print().
IDs of the 8 nodes on all sides of the mid point.
Definition at line 99 of file indexedOctree.H.
Referenced by dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::findIndices(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::findIndices(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::findInside(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::findInside(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::findNearest(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::findNearest(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::findNode(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::findNode(), dynamicIndexedOctree< Foam::dynamicTreeDataPoint >::print(), and indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::print().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.