Point.from_data
- classmethod Point.from_data(data)
Construct a point from a data dict.
- Parameters
data (dict) – The data dictionary.
- Returns
compas.geometry.Point
– The constructed point.
Examples
>>> point = Point.from_data([0.0, 0.0, 0.0]) >>> point Point(0.000, 0.000, 0.000)