| 262 | // vtkCellArray::Visit entry point: |
| 263 | template <class OffsetsT, class ConnectivityT> |
| 264 | void operator()(OffsetsT* offsets, ConnectivityT* conn, vtkPoints* points, vtkIdType cellId, |
| 265 | double bounds[6]) const |
| 266 | { |
| 267 | auto offsetsRange = GetRange(offsets); |
| 268 | const auto& beginOffset = offsetsRange[cellId]; |
| 269 | const auto& endOffset = offsetsRange[cellId + 1]; |
| 270 | const vtkIdType numPts = static_cast<vtkIdType>(endOffset - beginOffset); |
| 271 | |
| 272 | const auto pointIds = GetRange(conn).begin() + beginOffset; |
| 273 | vtkBoundingBox::ComputeBounds(points, pointIds, numPts, bounds); |
| 274 | } |
| 275 | }; |
| 276 | } // anonymous |
| 277 |
nothing calls this directly
no test coverage detected