Geometric question

How to determine if a point is inside a polygon (polygon defined by any 4 points, but i think the problem is the same with n points) ?

Good algebric question, and useful for me.

Thx in advance

there’s an ofInsidePoly function in ofMath that you can use.

Also, always that your question includes the word polygon, you will find the answer for sure googling for the question + paul bourke : )