| 398 | // vtkCellArray::Visit entry point: |
| 399 | template <class OffsetsT, class ConnectivityT> |
| 400 | void operator()(OffsetsT* offsets, ConnectivityT* conn, vtkPoints* points, vtkIdType cellId, |
| 401 | double bounds[6]) const |
| 402 | { |
| 403 | auto offsetsRange = GetRange(offsets); |
| 404 | const auto& beginOffset = offsetsRange[cellId]; |
| 405 | const auto& endOffset = offsetsRange[cellId + 1]; |
| 406 | const vtkIdType numPts = static_cast<vtkIdType>(endOffset - beginOffset); |
| 407 | |
| 408 | const auto pointIds = GetRange(conn).begin() + beginOffset; |
| 409 | vtkBoundingBox::ComputeBounds(points, pointIds, numPts, bounds); |
| 410 | } |
| 411 | }; |
| 412 | } // anonymous |
| 413 |
nothing calls this directly
no test coverage detected