network_is_crossed

compas.datastructures.network_is_crossed(network)[source]

Verify if a network has crossing edges.

Parameters:
networkcompas.datastructures.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.