On 07/08/2018 at 07:02, xxxxxxxx wrote:
I have a closed polygon defined by a list of coordinates (x and y, 2D coordinates).
The last point connects to the first point.
I want to check if a point px,py is inside or outside of the polygon.
The scan line implementation that I have so far, is a bit too slow as it has to go through all the coordinates list.
Is there a faster way?
Any internal code that Cinema 4D already has for that?