HalfEdge.from_json
-
classmethod
HalfEdge.
from_json
(filepath) Construct a datastructure from structured data contained in a json file.
- Parameters
filepath (str) – The path to the json file.
- Returns
compas.datastructures.Datastructure
– An object of the type ofcls
.
Notes
This constructor method is meant to be used in conjunction with the corresponding to_json method.