Capsule.from_data

classmethod Capsule.from_data(data)

Construct a capsule from its data representation.

Parameters

data (dict) – The data dictionary.

Returns

compas.geometry.Capsule – The constructed capsule.