ptc

DataSetFilters.ptc(pass_point_data=False, progress_bar=False)

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, optional

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

progress_barbool, optional

Display a progress bar to indicate progress.

Returns
pyvista.DataSet

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