How can I find out if multiple lines overlap? – Jquery
Each line segment has 2 xy coordinates given, Input are below, [3,4],[5,4] [8,4],[20,4] [10,4],[15,4] In the above picture, if the lines are overlapping, it can be considered as a line segment. May I know the logic or mathematics behind solving…