Closed andrejadd closed 6 years ago
It is implemented in file 'src/pip.c' and uses sp types. The function that does the work is InPoly() located in the same file. See copyright note in comment of function (free redistribution, leave copyright note).
Is there a reference implementation out there? InPoly() is based on the book "Computational Geometry in C" (Second Edition).
In order to get rid of 'sp'. Original point.in.polygon() calls C code.