pyvista.DataSetFilters.ptc#

DataSetFilters.ptc(pass_point_data=False, progress_bar=False, **kwargs)[source]#

Transform point data into cell 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.point_data_to_cell_data().

Parameters:
pass_point_databool, default: False

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

progress_barbool, default: False

Display a progress bar to indicate progress.

**kwargsdict, optional

Deprecated keyword argument pass_point_arrays.

Returns:
pyvista.DataSet

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