------------------------------------------------------------------------------ Description: Set the last cell id to -1 so that the next search does not start from the previous cell
| 208 | // Set the last cell id to -1 so that the next search does not |
| 209 | // start from the previous cell |
| 210 | void vtkGenericInterpolatedVelocityField::ClearLastCell() |
| 211 | { |
| 212 | if (this->GenCell != nullptr) |
| 213 | { |
| 214 | if (!this->GenCell->IsAtEnd()) |
| 215 | { |
| 216 | this->GenCell->Next(); |
| 217 | } |
| 218 | } |
| 219 | } |
| 220 | //------------------------------------------------------------------------------ |
| 221 | // Description: |
| 222 | // Return the cell cached from last evaluation. |
no test coverage detected