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

Method IsLeaf

Common/DataModel/vtkHyperTreeGridEntry.cxx:77–86  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

75
76//------------------------------------------------------------------------------
77bool vtkHyperTreeGridEntry::IsLeaf(
78 const vtkHyperTreeGrid* grid, const vtkHyperTree* tree, unsigned int level) const
79{
80 assert("pre: not_tree" && tree);
81 if (level == const_cast<vtkHyperTreeGrid*>(grid)->GetDepthLimiter())
82 {
83 return true;
84 }
85 return tree->IsLeaf(this->Index);
86}
87
88//------------------------------------------------------------------------------
89void vtkHyperTreeGridEntry::SubdivideLeaf(

Callers 3

SubdivideLeafMethod · 0.95
IsTerminalNodeMethod · 0.95
ToChildMethod · 0.95

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected