pysdic.PointCloud.points#
- property PointCloud.points: ndarray#
[Get or Set] An numpy array of shape \((N_p, E)\) representing the coordinates of the points in the cloud.
Note
An alias for
pointsiscoordinates.Note
The property is copied-on-write (cow) into
numpy.ndarrayof typenumpy.float64. Accessing it will return an unwritable view to prevent accidental modifications.- Parameters:
value (ArrayLike) – An array-like of shape \((N_p, E)\) representing the coordinates of the points in the cloud. If 1D array is provided, it will be reshaped to \((N_p, 1)\).
- Returns:
A unwritable NumPy array of shape \((N_p, E)\) containing the coordinates of the points in the cloud.
- Return type:
- Raises:
TypeError – If the input points is not a NumPy array.
ValueError – If the input array does not have the correct shape \((N_p, E)\).