Quaternion.from_data

classmethod Quaternion.from_data(data)[source]

Construct a quaternion from a data dict.

Parameters

data (dict) – The data dictionary.

Returns

compas.geometry.Quaternion – The constructed quaternion.

Examples

>>>