------------------------------------------------------------------------------ Copy a cells point ids into list provided. (Less efficient.)
| 900 | //------------------------------------------------------------------------------ |
| 901 | // Copy a cells point ids into list provided. (Less efficient.) |
| 902 | void vtkPolyData::GetCellPoints(vtkIdType cellId, vtkIdList* ptIds) |
| 903 | { |
| 904 | if (this->Cells == nullptr) |
| 905 | { |
| 906 | this->BuildCells(); |
| 907 | } |
| 908 | |
| 909 | const TaggedCellId tag = this->Cells->GetTag(cellId); |
| 910 | if (tag.IsDeleted()) |
| 911 | { |
| 912 | ptIds->SetNumberOfIds(0); |
| 913 | } |
| 914 | else |
| 915 | { |
| 916 | auto cells = this->GetCellArrayInternal(tag); |
| 917 | cells->GetCellAtId(tag.GetCellId(), ptIds); |
| 918 | } |
| 919 | } |
| 920 | |
| 921 | //------------------------------------------------------------------------------ |
| 922 | void vtkPolyData::GetPointCells(vtkIdType ptId, vtkIdList* cellIds) |
no test coverage detected