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

Method InternalReplaceCell

Common/DataModel/vtkUnstructuredGrid.cxx:1263–1266  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Replace the points defining cell "cellId" with a new set of points. This operator is (typically) used when links from points to cells have not been built (i.e., BuildLinks() has not been executed). Use the operator ReplaceLinkedCell() to replace a cell when cell structure has been built.

Source from the content-addressed store, hash-verified

1261// built (i.e., BuildLinks() has not been executed). Use the operator
1262// ReplaceLinkedCell() to replace a cell when cell structure has been built.
1263void vtkUnstructuredGrid::InternalReplaceCell(vtkIdType cellId, int npts, const vtkIdType pts[])
1264{
1265 this->Connectivity->ReplaceCellAtId(cellId, npts, pts);
1266}
1267
1268//------------------------------------------------------------------------------
1269// Add a new cell to the cell data structure (after cell links have been

Callers 1

ReplaceCellMethod · 0.80

Calls 1

ReplaceCellAtIdMethod · 0.80

Tested by

no test coverage detected