------------------------------------------------------------------------------
| 974 | |
| 975 | //------------------------------------------------------------------------------ |
| 976 | void vtkUnstructuredGrid::GetPointCells(vtkIdType ptId, vtkIdType& ncells, vtkIdType*& cells) |
| 977 | { |
| 978 | if (!this->Editable) |
| 979 | { |
| 980 | vtkStaticCellLinks* links = static_cast<vtkStaticCellLinks*>(this->Links.Get()); |
| 981 | |
| 982 | ncells = links->GetNcells(ptId); |
| 983 | cells = links->GetCells(ptId); |
| 984 | } |
| 985 | else |
| 986 | { |
| 987 | vtkCellLinks* links = static_cast<vtkCellLinks*>(this->Links.Get()); |
| 988 | |
| 989 | ncells = links->GetNcells(ptId); |
| 990 | cells = links->GetCells(ptId); |
| 991 | } |
| 992 | } |
| 993 | |
| 994 | //------------------------------------------------------------------------------ |
| 995 | void vtkUnstructuredGrid::GetCellPoints(vtkIdType cellId, vtkIdList* ptIds) |
nothing calls this directly
no test coverage detected