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

>>>