Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

0 votes
686 views
Writing a Checker, is there a function, that checks if a coord is inside an area / polygon given by an array / list of coords?
closed with the note: answered. thank you
in Support and help by twoapples (270 points)
closed by twoapples
it it used in the checker to http://project-gc.com/Challenges/GC2M3D4/1320
it uses the algorithm in http://en.wikipedia.org/wiki/Point_in_polygon
I think the checker code has a but if the line hits a endpoint of a polygon but i am not sure
Thank you. I will have a look on this script.

1 Answer

0 votes
 
Best answer
This can very well be implemented in LUA. There already are polygon checker(s) that does this as well.
by magma1447 (Admin) (241k points)
selected by twoapples
...