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 76 of file indexedOctree.H.
Definition at line 103 of file indexedOctree.H.
Definition at line 113 of file indexedOctree.H.
Definition at line 118 of file indexedOctree.H.
Definition at line 124 of file indexedOctree.H.
|
static |
Has exactly 8 sub-nodes (octants)
Definition at line 83 of file indexedOctree.H.
treeBoundBox bb_ |
Bounding box of this node.
Definition at line 88 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 93 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 98 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().