Given a number of segments, finds their intersection points and outputs a new set of non-intersecting segments connected to intersection points.
Example hardcoded into main
Implementation of sweep line algorithm for intersection of segments
Given a number of segments, finds their intersection points and outputs a new set of non-intersecting segments connected to intersection points.
Example hardcoded into main
Implementation of sweep line algorithm for intersection of segments