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

Method IsTerminalNode

Common/DataModel/vtkHyperTreeGridGeometryLevelEntry.cxx:110–120  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

108
109//------------------------------------------------------------------------------
110bool vtkHyperTreeGridGeometryLevelEntry::IsTerminalNode(const vtkHyperTreeGrid* grid) const
111{
112 assert("pre: not_tree" && this->Tree);
113 bool result = !this->IsLeaf(grid);
114 if (result)
115 {
116 result = this->Tree->IsTerminalNode(this->Index);
117 }
118 assert("post: compatible" && (!result || !this->IsLeaf(grid)));
119 return result;
120}
121
122//------------------------------------------------------------------------------
123void vtkHyperTreeGridGeometryLevelEntry::ToChild(const vtkHyperTreeGrid* grid, unsigned char ichild)

Callers

nothing calls this directly

Calls 2

IsLeafMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected