------------------------------------------------------------------------------ Description: Used internally by vtkBridgeDataSet. Iterate on one cell `id' of `ds'. \pre ds_exists: ds!=0 \pre valid_id: (id>=0)&&(id<=ds->GetNumberOfCells())
| 165 | // \pre ds_exists: ds!=0 |
| 166 | // \pre valid_id: (id>=0)&&(id<=ds->GetNumberOfCells()) |
| 167 | void vtkBridgeCellIterator::InitWithOneCell(vtkBridgeDataSet* ds, vtkIdType cellid) |
| 168 | { |
| 169 | assert("pre: ds_exists" && ds != nullptr); |
| 170 | assert("pre: valid_id" && (cellid >= 0) && (cellid <= ds->GetNumberOfCells())); |
| 171 | |
| 172 | this->IteratorOneCell->InitWithOneCell(ds, cellid); |
| 173 | this->CurrentIterator = this->IteratorOneCell; |
| 174 | } |
| 175 | |
| 176 | //------------------------------------------------------------------------------ |
| 177 | // Description: |
no test coverage detected