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

Method GetBoundaryIterator

Testing/GenericBridge/vtkBridgeCell.cxx:289–294  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Return in `boundaries' the cells of dimension `dim' (or all dimensions less than GetDimension() if -1) that are part of the boundary of the cell. \pre valid_dim_range: (dim==-1) || ((dim>=0)&&(dim<GetDimension())) \pre boundaries_exist: boundaries!=0

Source from the content-addressed store, hash-verified

287// \pre valid_dim_range: (dim==-1) || ((dim>=0)&&(dim<GetDimension()))
288// \pre boundaries_exist: boundaries!=0
289void vtkBridgeCell::GetBoundaryIterator(vtkGenericCellIterator* boundaries, int dim)
290{
291 assert("pre: valid_dim_range" && ((dim == -1) || ((dim >= 0) && (dim < GetDimension()))));
292 assert("pre: boundaries_exist" && boundaries != nullptr);
293 static_cast<vtkBridgeCellIterator*>(boundaries)->InitWithCellBoundaries(this, dim);
294}
295
296//------------------------------------------------------------------------------
297// Description:

Calls 3

assertFunction · 0.50
GetDimensionFunction · 0.50

Tested by 2

TestWithPointsAndCellsFunction · 0.64