pysdic.PointCloud.validate#
- PointCloud.validate(*, recursive=True)[source]#
Validate the integrity of the point cloud.
The following conditions are checked:
The coordinates are a
numpy.float64array of shape \((N_p, E)\) with \(E \geq 1\).The properties are a
pysdic.core.property_container.PropertyContainerwith \(N = N_p\).
- Parameters:
recursive (bool, optional (default:
True)) – If True, the property container is also validated (seepysdic.core.property_container.PropertyContainer.validate()).- Raises:
TypeError – If an attribute has a wrong type.
ValueError – If an attribute has a wrong shape.
- Return type:
None