Hello.
As in the subject, how to do this? I've got this code (I'll do minor fixes later):
http://pastebin.com/f4d5572a7

TShapeVec is just a class that stores X and Y coords. FPoints is a TList object.

This solution seems working, but when I define points like these:
Code:
    (0; 0)
    (1; 3)
    (0; 5)
    (10; 4)
Validate returns that those points intersect. :shock:

Do they really intersect or maybe the code is wrong? :?