Graph.is_xy
- Graph.is_xy()[source]
Verify that a graph lies in the XY plane.
- Parameters:
- graph
compas.datastructures.Graph
A graph object.
- graph
- Returns:
- bool
True if the Z coordinate of all vertices is zero. False otherwise.
Site Navigation
Verify that a graph lies in the XY plane.
compas.datastructures.Graph
A graph object.
True if the Z coordinate of all vertices is zero. False otherwise.