pysdic.PointCloud.filter_points#

PointCloud.filter_points(mask, *, propagate_properties=True)[source]#

Keep only the points selected by a boolean mask.

Parameters:
  • mask (ArrayLike) – A boolean array of shape \((N_p,)\). The points with a True value are kept. A mask with only False values gives an empty point cloud.

  • propagate_properties (bool, optional (default: True)) – If False, the new point cloud has no properties.

Returns:

The filtered point cloud.

Return type:

pysdic.PointCloud

Raises: