PointSet.cast_to_polydata# PointSet.cast_to_polydata(*, deep: bool = True) → PolyData[source]# Cast this dataset to polydata. Parameters: deepbool, deep: TrueWhether to copy the pointset points, or to create a PolyData without copying them. Setting deep=True ensures that the original arrays can be modified outside the PolyData without affecting the PolyData. Returns: pyvista.PolyDataPointSet cast to a pyvista.PolyData.