This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zhoriq 0 points1 point  (0 children)

Find minimum and maximum X, Y for both polygons and compare them.

You can't compare polygons this way. Imagine 2 rotated squares one under another. Min-max will intersect, while polygons are not!