Quaternion.from_data
- classmethod Quaternion.from_data(data)
Construct a quaternion from a data dict.
- Parameters
data (dict) – The data dictionary.
- Returns
compas.geometry.Quaternion
– The constructed quaternion.
Examples
>>>
Construct a quaternion from a data dict.
data (dict) – The data dictionary.
compas.geometry.Quaternion
– The constructed quaternion.
Examples
>>>
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev