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

Method InsertNextPoint

Common/DataModel/vtkCellLocator.cxx:46–53  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

44
45//------------------------------------------------------------------------------
46int vtkCellLocator::vtkNeighborCells::InsertNextPoint(int* x)
47{
48 int id = this->Points->GetMaxId() + 3;
49 this->Points->InsertValue(id, x[2]);
50 this->Points->SetValue(id - 2, x[0]);
51 this->Points->SetValue(id - 1, x[1]);
52 return id / 3;
53}
54
55//------------------------------------------------------------------------------
56// Construct with automatic computation of divisions, averaging

Callers 2

GetOverlappingBucketsMethod · 0.45
GenerateFaceMethod · 0.45

Calls 2

InsertValueMethod · 0.45
SetValueMethod · 0.45

Tested by

no test coverage detected