i have a list a test point(x,y coordinate), and i store them into array(testpt[i][0]& testpt[i][1])
how can i test those points are inside the polygon or not?
I search google and found some code is about winding number.
But i understand the code since i am a beginner.
Can someone wrote the code for me to do the homework?
My classmates use interception to count the number of interception between the line of polygon and test points.
odd number is inside and even number is outside.
> My classmates use interception to count the number of interception between the line of polygon
> and test points. odd number is inside and even number is outside.
i try to write the code but there are some special cases like passing though vertexs and same point on 2 different lines(pass through twice)
The result is not corrected