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

Method IsLeaf

Common/DataModel/vtkHyperTreeGridGeometryEntry.cxx:92–101  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

90
91//------------------------------------------------------------------------------
92bool vtkHyperTreeGridGeometryEntry::IsLeaf(
93 const vtkHyperTreeGrid* grid, const vtkHyperTree* tree, unsigned int level) const
94{
95 assert("pre: not_tree" && tree);
96 if (level == const_cast<vtkHyperTreeGrid*>(grid)->GetDepthLimiter())
97 {
98 return true;
99 }
100 return tree->IsLeaf(this->Index);
101}
102
103//------------------------------------------------------------------------------
104void vtkHyperTreeGridGeometryEntry::SubdivideLeaf(

Callers 3

SubdivideLeafMethod · 0.95
IsTerminalNodeMethod · 0.95
ToChildMethod · 0.95

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected