MCPcopy Create free account
hub / github.com/Kitware/VTK / IsTerminalNode

Method IsTerminalNode

Common/DataModel/vtkHyperTreeGridGeometryEntry.cxx:117–128  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

115
116//------------------------------------------------------------------------------
117bool vtkHyperTreeGridGeometryEntry::IsTerminalNode(
118 const vtkHyperTreeGrid* grid, const vtkHyperTree* tree, unsigned int level) const
119{
120 assert("pre: not_tree" && tree);
121 bool result = !this->IsLeaf(grid, tree, level);
122 if (result)
123 {
124 result = tree->IsTerminalNode(this->Index);
125 }
126 assert("post: compatible" && (!result || !this->IsLeaf(grid, tree, level)));
127 return result;
128}
129
130//------------------------------------------------------------------------------
131void vtkHyperTreeGridGeometryEntry::ToChild(const vtkHyperTreeGrid* grid, const vtkHyperTree* tree,

Callers

nothing calls this directly

Calls 2

IsLeafMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected