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

Method FindAndGetCell

Common/DataModel/vtkDataSet.cxx:334–347  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

332
333//------------------------------------------------------------------------------
334vtkCell* vtkDataSet::FindAndGetCell(double x[3], vtkCell* cell, vtkIdType cellId, double tol2,
335 int& subId, double pcoords[3], double* weights)
336{
337 vtkIdType newCell = this->FindCell(x, cell, cellId, tol2, subId, pcoords, weights);
338 if (newCell >= 0)
339 {
340 cell = this->GetCell(newCell);
341 }
342 else
343 {
344 return nullptr;
345 }
346 return cell;
347}
348
349//------------------------------------------------------------------------------
350void vtkDataSet::GetCellNeighbors(vtkIdType cellId, vtkIdList* ptIds, vtkIdList* cellIds)

Callers 15

EvaluateFunctionMethod · 0.45
EvaluateGradientMethod · 0.45
test_rg3dFunction · 0.45
test_rg2d_xyFunction · 0.45
test_rg2d_xzFunction · 0.45
test_rg2d_yzFunction · 0.45
test_rg1d_xFunction · 0.45
test_rg1d_yFunction · 0.45
test_rg1d_zFunction · 0.45
TestOIDFunction · 0.45
TestOUG_1dxFunction · 0.45
TestOUG_1dyFunction · 0.45

Calls 2

FindCellMethod · 0.45
GetCellMethod · 0.45

Tested by 15

test_rg3dFunction · 0.36
test_rg2d_xyFunction · 0.36
test_rg2d_xzFunction · 0.36
test_rg2d_yzFunction · 0.36
test_rg1d_xFunction · 0.36
test_rg1d_yFunction · 0.36
test_rg1d_zFunction · 0.36
TestOIDFunction · 0.36
TestOUG_1dxFunction · 0.36
TestOUG_1dyFunction · 0.36
TestOUG_1dzFunction · 0.36
TestOUG_2dxyFunction · 0.36