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

Method IsTerminalNode

Common/DataModel/vtkHyperTreeGridEntry.cxx:102–114  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

100
101//------------------------------------------------------------------------------
102bool vtkHyperTreeGridEntry::IsTerminalNode(
103 const vtkHyperTreeGrid* grid, const vtkHyperTree* tree, unsigned int level) const
104{
105 (void)level; // remove warning for release build
106 assert("pre: not_tree" && tree);
107 bool result = !this->IsLeaf(grid, tree, level);
108 if (result)
109 {
110 result = tree->IsTerminalNode(this->Index);
111 }
112 assert("post: compatible" && (!result || !this->IsLeaf(grid, tree, level)));
113 return result;
114}
115
116//------------------------------------------------------------------------------
117void vtkHyperTreeGridEntry::ToChild(

Callers

nothing calls this directly

Calls 2

IsLeafMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected