1st version of rotational plane sweep algorithm without checking the end node, nor adding the polygon shapes to the result