Given convex polygon with known coordinates of vertices. Every pair of vertices is connected by a line segment. Is there efficient algorithm to find intersections of resulting line segments?
For example, with regular dodecagon all line segments form this picture:
How to find coordinates of all intersections on this picture efficiently?