mosaic.container.DataContainer.add#

DataContainer.add(points, color=None, **kwargs)[source]#

Add a new geometry object to the container.

Parameters:
pointsnp.ndarray or Geometry

Points to add to the container.

colortuple of float, optional

RGB color values for the point cloud.

Returns:
int

Index of the new point cloud.