pysdic.PointCloud.remove_points_by_index#
- PointCloud.remove_points_by_index(indices, *, propagate_properties=True)[source]#
Remove the points with the given indices.
- Parameters:
indices (ArrayLike) – An integer array of shape \((R,)\) with the indices of the points to remove, in \([0, N_p)\). Duplicates are allowed.
propagate_properties (bool, optional (default:
True)) – If False, the new point cloud has no properties.
- Returns:
The point cloud without the given points.
- Return type:
- Raises:
TypeError – If the indices are not integers.
IndexError – If an index is out of \([0, N_p)\).