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

Method GetLeafContainer

Common/DataModel/vtkIncrementalOctreePointLocator.cxx:215–220  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

213
214//------------------------------------------------------------------------------
215vtkIncrementalOctreeNode* vtkIncrementalOctreePointLocator::GetLeafContainer(
216 vtkIncrementalOctreeNode* node, const double pnt[3])
217{
218 return ((node->IsLeaf()) ? node
219 : this->GetLeafContainer(node->GetChild(node->GetChildIndex(pnt)), pnt));
220}
221
222//------------------------------------------------------------------------------
223vtkIdType vtkIncrementalOctreePointLocator::FindClosestInsertedPoint(const double x[3])

Callers 7

FindClosestPointMethod · 0.95
InsertPointMethod · 0.95
InsertNextPointMethod · 0.95

Calls 3

IsLeafMethod · 0.45
GetChildMethod · 0.45
GetChildIndexMethod · 0.45

Tested by

no test coverage detected