mkit.io.pyvista
is_point_cloud
Determine if a given PyVista PolyData object represents a point cloud.
A point cloud is characterized by having the number of points plus the number of lines equal to the number of cells.
Parameters:
-
mesh
(PolyData
) –The PyVista PolyData object to check.
Returns:
-
bool
–True if the PolyData object is a point cloud, False otherwise.