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

Method IsNode

Common/DataModel/vtkCellTreeLocator.cxx:143–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 this->Index = this->GetDimension() | (left << 2);
142 }
143 bool IsNode() const
144 {
145 return (this->Index & 3) != 3; // For a leaf 2 LSBs in index is 3
146 }
147 T GetLeftChildIndex() const { return (this->Index >> 2); }
148 T GetRightChildIndex() const
149 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected