CellNetwork.is_crossed

CellNetwork.is_crossed()

Verify if a network has crossing edges.

Parameters

network (compas.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.