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

Method InsertNextPoint

Common/DataModel/vtkIncrementalOctreePointLocator.cxx:1311–1317  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1309
1310//------------------------------------------------------------------------------
1311vtkIdType vtkIncrementalOctreePointLocator::InsertNextPoint(const double x[3])
1312{
1313 vtkIdType pntId = -1;
1314 this->GetLeafContainer(this->OctreeRootNode, x)
1315 ->InsertPoint(this->LocatorPoints, x, this->MaxPointsPerLeaf, &pntId, 2, this->NumberOfNodes);
1316 return pntId;
1317}
1318
1319//------------------------------------------------------------------------------
1320int vtkIncrementalOctreePointLocator::GetNumberOfLevels()

Callers 1

AddPolysMethod · 0.45

Calls 2

GetLeafContainerMethod · 0.95
InsertPointMethod · 0.45

Tested by

no test coverage detected