network_is_xy

compas.datastructures.network_is_xy(network)[source]

Verify that a network lies in the XY plane.

Parameters

network (compas.datastructures.Network) – A network object.

Returns

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