BendNetwork.count_crossings
- BendNetwork.count_crossings()
 Count the number of crossings (pairs of crossing edges) in the graph.
- Parameters:
 - graph
compas.datastructures.Graph A graph object.
- graph
 - Returns:
 - int
 The number of crossings.
Notes
This algorithm assumes that the graph lies in the XY plane.