Network.is_xy

Network.is_xy()[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.