pysdic.PointCloud.has_property#

PointCloud.has_property(key)[source]#

Check if the point cloud has a property with the given key/name.

Note

The property can also be checked using dictionary-like syntax:

1has_property = 'property_key' in point_cloud
Parameters:

key (str) – The key/name of the property to check.

Returns:

True if the property exists, False otherwise.

Return type:

bool