------------------------------------------------------------------------------ Description: Used internally by vtkBridgeDataSet. Iterate over one point of identifier `id' on dataset `ds'. \pre ds_can_be_null: ds!=0 || ds==0 \pre valid_id: vtkImplies(ds!=0,(id>=0)&&(id<=ds->GetNumberOfCells()))
| 142 | // \pre ds_can_be_null: ds!=0 || ds==0 |
| 143 | // \pre valid_id: vtkImplies(ds!=0,(id>=0)&&(id<=ds->GetNumberOfCells())) |
| 144 | void vtkBridgePointIterator::InitWithOnePoint(vtkBridgeDataSet* ds, vtkIdType id) |
| 145 | { |
| 146 | assert("pre: valid_id" && |
| 147 | ((ds == nullptr) || ((id >= 0) && (id <= ds->GetNumberOfCells())))); // A=>B: !A||B |
| 148 | |
| 149 | this->IteratorOne->InitWithOnePoint(ds, id); |
| 150 | this->CurrentIterator = this->IteratorOne; |
| 151 | } |
| 152 | |
| 153 | //------------------------------------------------------------------------------ |
| 154 | // Description: |
no test coverage detected