------------------------------------------------------------------------------
| 332 | |
| 333 | //------------------------------------------------------------------------------ |
| 334 | vtkCell* 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 | //------------------------------------------------------------------------------ |
| 350 | void vtkDataSet::GetCellNeighbors(vtkIdType cellId, vtkIdList* ptIds, vtkIdList* cellIds) |