pysdic.PointCloud.concatenate#

PointCloud.concatenate(other, *, propagate_properties=True)[source]#

Concatenate two point clouds (the points of other come after).

The properties are concatenated with pysdic.core.property_container.PropertyContainer.concatenate(): a property present in only one point cloud is completed with numpy.nan for the points of the other one (integer and boolean properties are then promoted to float).

Parameters:
  • other (pysdic.PointCloud) – The point cloud to append, with the same dimension \(E\).

  • propagate_properties (bool, optional (default: True)) – If False, the new point cloud has no properties.

Returns:

A new point cloud with \(N_p + N_p^{other}\) points.

Return type:

pysdic.PointCloud