------------------------------------------------------------------------------
| 595 | |
| 596 | //------------------------------------------------------------------------------ |
| 597 | void vtkCellArray::GetCell(vtkIdType loc, vtkIdType& npts, const vtkIdType*& pts) |
| 598 | { |
| 599 | vtkIdType cellId; |
| 600 | this->Dispatch(deprec::LocationToCellIdFunctor{}, loc, cellId); |
| 601 | if (cellId < 0) |
| 602 | { |
| 603 | vtkErrorMacro("Invalid location."); |
| 604 | npts = 0; |
| 605 | pts = nullptr; |
| 606 | return; |
| 607 | } |
| 608 | |
| 609 | this->GetCellAtId(cellId, this->TempCell); |
| 610 | npts = this->TempCell->GetNumberOfIds(); |
| 611 | pts = this->TempCell->GetPointer(0); |
| 612 | } |
| 613 | |
| 614 | //------------------------------------------------------------------------------ |
| 615 | void vtkCellArray::GetCell(vtkIdType loc, vtkIdList* pts) |
nothing calls this directly
no test coverage detected