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

Method IsTerminalNode

Common/DataModel/vtkHyperTreeGridLevelEntry.cxx:128–138  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

126
127//------------------------------------------------------------------------------
128bool vtkHyperTreeGridLevelEntry::IsTerminalNode(const vtkHyperTreeGrid* grid) const
129{
130 assert("pre: not_tree" && this->Tree);
131 bool result = !this->IsLeaf(grid);
132 if (result)
133 {
134 result = this->Tree->IsTerminalNode(this->Index);
135 }
136 assert("post: compatible" && (!result || !this->IsLeaf(grid)));
137 return result;
138}
139
140//------------------------------------------------------------------------------
141void vtkHyperTreeGridLevelEntry::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