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

Function ReplaceCellAtId

Common/DataModel/vtkCellArray.h:811–814  ·  view source on GitHub ↗

* Overload that allows `ReplaceCellAtId(cellId, {0, 1, 2})` syntax. * * @warning This can ONLY replace the cell if the size does not change. * Attempting to change cell size through this method will have undefined * results. */

Source from the content-addressed store, hash-verified

809 * results.
810 */
811 void ReplaceCellAtId(vtkIdType cellId, const std::initializer_list<vtkIdType>& cell)
812 {
813 this->ReplaceCellAtId(cellId, static_cast<vtkIdType>(cell.size()), cell.begin());
814 }
815
816 /**
817 * Returns the size of the largest cell. The size is the number of points

Callers

nothing calls this directly

Calls 3

ReplaceCellAtIdMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected