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