pysdic.PointCloud.coordinates#
- property PointCloud.coordinates: ndarray#
[Get/Set] The coordinates of the points, an array of shape \((N_p, E)\).
The getter returns a read-only view. The setter copies the given array, whose shape must be \((N_p, E)\): to change the number of points, use
filter_points()orconcatenate()(which return a new point cloud). The setter is refused if the point cloud is locked.- Parameters:
value (ArrayLike) – An array of shape \((N_p, E)\). A 1D array of shape \((N_p,)\) is accepted if \(E = 1\).
- Returns:
A read-only view of shape \((N_p, E)\) on the coordinates.
- Return type:
- Raises:
ValueError – If the shape of the input is not \((N_p, E)\).
RuntimeError – If the point cloud is locked (see
locked_message).