MCPcopy Create free account
hub / github.com/Kitware/VTK / InitWithCellBoundaries

Method InitWithCellBoundaries

Testing/GenericBridge/vtkBridgeCellIterator.cxx:194–200  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Used internally by vtkBridgeCell. Iterate on boundary cells of a cell. \pre cell_exists: cell!=0 \pre valid_dim_range: (dim==-1) || ((dim>=0)&&(dim GetDimension()))

Source from the content-addressed store, hash-verified

192// \pre cell_exists: cell!=0
193// \pre valid_dim_range: (dim==-1) || ((dim>=0)&&(dim<cell->GetDimension()))
194void vtkBridgeCellIterator::InitWithCellBoundaries(vtkBridgeCell* cell, int dim)
195{
196 assert("pre: cell_exists" && cell != nullptr);
197 assert("pre: valid_dim_range" && ((dim == -1) || ((dim >= 0) && (dim < cell->GetDimension()))));
198 this->IteratorOnCellBoundaries->InitWithCellBoundaries(cell, dim);
199 this->CurrentIterator = this->IteratorOnCellBoundaries;
200}
201
202//------------------------------------------------------------------------------
203// Description:

Callers 1

GetBoundaryIteratorMethod · 0.45

Calls 2

assertFunction · 0.50
GetDimensionMethod · 0.45

Tested by

no test coverage detected