------------------------------------------------------------------------------ Description: Used internally by vtkBridgeCell. Iterate on a boundary cell (defined by its points `pts' with coordinates `coords', dimension `dim' and unique id `cellid') of a cell. \pre coords_exist: coords!=0 \pre pts_exist: pts!=0 \pre valid_dim: dim>=0 && dim<=2 \pre valid_points: pts->GetNumberOfIds()>dim
| 224 | // \pre valid_dim: dim>=0 && dim<=2 |
| 225 | // \pre valid_points: pts->GetNumberOfIds()>dim |
| 226 | void vtkBridgeCellIterator::InitWithPoints( |
| 227 | vtkPoints* coords, vtkIdList* pts, int dim, vtkIdType cellid) |
| 228 | { |
| 229 | assert("pre: coords_exist" && coords != nullptr); |
| 230 | assert("pre: pts_exist" && pts != nullptr); |
| 231 | assert("pre: valid_dim" && dim >= 0 && dim <= 2); |
| 232 | assert("pre: valid_points" && pts->GetNumberOfIds() > dim); |
| 233 | |
| 234 | this->IteratorOneCell->InitWithPoints(coords, pts, dim, cellid); |
| 235 | this->CurrentIterator = this->IteratorOneCell; |
| 236 | } |
| 237 | VTK_ABI_NAMESPACE_END |
no test coverage detected