------------------------------------------------------------------------------ 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()))
| 112 | // \pre ds_can_be_null: ds!=0 || ds==0 |
| 113 | // \pre valid_id: vtkImplies(ds!=0,(id>=0)&&(id<=ds->GetNumberOfCells())) |
| 114 | void vtkBridgePointIteratorOne::InitWithOnePoint(vtkBridgeDataSet* ds, vtkIdType id) |
| 115 | { |
| 116 | assert("pre: valid_id" && |
| 117 | ((ds == nullptr) || ((id >= 0) && (id <= ds->GetNumberOfCells())))); // A=>B: !A||B |
| 118 | |
| 119 | vtkSetObjectBodyMacro(DataSet, vtkBridgeDataSet, ds); |
| 120 | this->Id = id; |
| 121 | } |
| 122 | VTK_ABI_NAMESPACE_END |
nothing calls this directly
no test coverage detected