DataContainer.add#
- DataContainer.add(points=None, color=None, **kwargs)[source]#
Add a new geometry object to the container.
- Parameters:
- pointsarray_like or Geometry, optional
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.