mosaic.container.DataContainer.new#

DataContainer.new(data, *args, **kwargs)[source]#

Create new point cloud from existing data.

Parameters:
datanp.ndarray or list of int

Points or indices of existing clouds to use.

Returns:
int

Index of new point cloud, -1 if creation failed.