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