ctp

RectilinearGrid.ctp(pass_cell_data=False, progress_bar=False)

Transform cell data into point data.

Point data are specified per node and cell data specified within cells. Optionally, the input point data can be passed through to the output.

This method is an alias for pyvista.DataSetFilters.cell_data_to_point_data().

Parameters
pass_cell_databool, optional

If enabled, pass the input cell data through to the output.

progress_barbool, optional

Display a progress bar to indicate progress.

Returns
pyvista.DataSet

Dataset with the cell data transformed into point data. Return type matches input.