mosaic.container.DataContainer.downsample#
- DataContainer.downsample(geometry, method='radius', **kwargs)[source]#
Downsample point cloud using specified method
- Parameters:
- geometry
mosaic.geometry.Geometry
Cloud to decimate.
- methodstr
Method to use. Options are: - ‘radius’ : Remove points that fall within radius of each other. - ‘number’ : Randomly subsample points to number.
- **kwargs
Additional arguments passed to the chosen method.
- geometry
- Returns:
- int
Index of newly added point cloud.