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

Function IsCoarse

Filters/HyperTree/vtkHyperTreeGridGradient.cxx:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48bool IsCoarse(vtkHyperTreeGridNonOrientedUnlimitedMooreSuperCursor* cursor,
49 vtkIdType sid = vtkHyperTreeGrid::InvalidIndex)
50{
51 if (sid == vtkHyperTreeGrid::InvalidIndex)
52 return !cursor->IsRealLeaf() && !cursor->IsVirtualLeaf();
53 return !cursor->IsRealLeaf(sid) && !cursor->IsVirtualLeaf(sid);
54}
55
56template <class Cursor>
57float GetExtensiveRatio(Cursor* vtkNotUsed(cursor), vtkIdType vtkNotUsed(sid))

Callers 1

Calls 2

IsRealLeafMethod · 0.45
IsVirtualLeafMethod · 0.45

Tested by

no test coverage detected