mosaic.container.DataContainer.add#
- DataContainer.add(points=None, color=None, **kwargs)[source]#
Add a new geometry object to the container.
- Parameters:
- points_or_geometrynp.ndarray or Geometry or SegmentationGeometry
Points to add to the container, or an existing geometry object.
- colortuple of float, optional
RGB color values for the point cloud.
- Returns:
- int
Index of the new point cloud.