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

Method InsertUniquePoint

Common/DataModel/vtkIncrementalOctreePointLocator.cxx:1285–1292  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1283
1284//------------------------------------------------------------------------------
1285int vtkIncrementalOctreePointLocator::InsertUniquePoint(const double point[3], vtkIdType& pntId)
1286{
1287 vtkIncrementalOctreeNode* leafContainer = nullptr;
1288 pntId = this->IsInsertedPoint(point, &leafContainer);
1289 return ((pntId > -1) ? 0
1290 : leafContainer->InsertPoint(this->LocatorPoints, point,
1291 this->MaxPointsPerLeaf, &pntId, 2, this->NumberOfNodes));
1292}
1293
1294//------------------------------------------------------------------------------
1295void vtkIncrementalOctreePointLocator::InsertPointWithoutChecking(

Callers

nothing calls this directly

Calls 2

IsInsertedPointMethod · 0.95
InsertPointMethod · 0.45

Tested by

no test coverage detected