pysdic.PointCloud.from_array#
- classmethod PointCloud.from_array(coordinates, *, properties=None)[source]#
Create a point cloud from an array of coordinates.
Equivalent to
PointCloud(coordinates, properties=properties).- Parameters:
coordinates (ArrayLike) – An array of shape \((N_p, E)\) with the coordinates of the points.
properties (Optional[Union[Dict[str, ArrayLike], PropertyContainer]], optional) – The properties of the points (see
pysdic.PointCloud).
- Returns:
The new point cloud.
- Return type: