Collision.from_data
- classmethod Collision.from_data(data)
Construct an object of this type from the provided data.
- Parameters
data (dict) – The data dictionary.
- Returns
compas.data.Data
– An instance of this object type if the data contained in the dict has the correct schema.