------------------------------------------------------------------------------
| 816 | |
| 817 | //------------------------------------------------------------------------------ |
| 818 | inline void vtkPolyData::RemoveCellReference(vtkIdType cellId) |
| 819 | { |
| 820 | const vtkIdType* pts; |
| 821 | vtkIdType npts; |
| 822 | |
| 823 | this->GetCellPoints(cellId, npts, pts); |
| 824 | auto links = static_cast<vtkCellLinks*>(this->Links.Get()); |
| 825 | for (vtkIdType i = 0; i < npts; i++) |
| 826 | { |
| 827 | links->RemoveCellReference(cellId, pts[i]); |
| 828 | } |
| 829 | } |
| 830 | |
| 831 | //------------------------------------------------------------------------------ |
| 832 | inline void vtkPolyData::AddCellReference(vtkIdType cellId) |
no test coverage detected