Network.is_crossed

Network.is_crossed()[source]

Verify if a network has crossing edges.

Parameters

network (Network) – A network object.

Returns

bool – True if the network has at least one pair of crossing edges. False otherwise.

Notes

This algorithm assumes that the network lies in the XY plane.