network_count_crossings
-
compas.datastructures.
network_count_crossings
(network)[source] Count the number of crossings (pairs of crossing edges) in the network.
- Parameters
network (Network) – A network object.
- Returns
int – The number of crossings.
Notes
This algorithm assumes that the network lies in the XY plane.