Graph.is_xy

Graph.is_xy()[source]

Verify that a graph lies in the XY plane.

Parameters:
graphcompas.datastructures.Graph

A graph object.

Returns:
bool

True if the Z coordinate of all vertices is zero. False otherwise.