pysdic.PointCloud.to_pyvista#
- PointCloud.to_pyvista(*, only_finite=False, save_properties=True)[source]#
Convert the point cloud to a
pyvista.PolyData(only for 3D point clouds).The points are stored with one
vertexcell per point, and the properties as point data.- Parameters:
only_finite (bool, optional (default:
False)) – If True, the points with non-finite coordinates are skipped. Otherwise, aValueErroris raised if such points exist.save_properties (bool, optional (default:
True)) – If False, the properties are not saved.
- Returns:
The PyVista representation of the point cloud (with copies of the arrays).
- Return type:
pyvista.PolyData