| 91 | { |
| 92 | template <class OffsetsT, class ConnectivityT> |
| 93 | void operator()( |
| 94 | OffsetsT* offsets, ConnectivityT* vtkNotUsed(conn), vtkIdType cellId, vtkIdType& loc) const |
| 95 | { |
| 96 | // Adding the cellId to the offset of that cell id gives us the cell |
| 97 | // location in the old-style vtkCellArray connectivity array. |
| 98 | loc = static_cast<vtkIdType>(GetRange(offsets)[cellId]) + cellId; |
| 99 | } |
| 100 | }; |
| 101 | |
| 102 | struct GetInsertLocationImpl : public vtkCellArray::DispatchUtilities |
nothing calls this directly
no test coverage detected