3 ms·
> Use your favorite library for point+polygon intersection to decide if you're in a national park it's like 50ish lines of code in C, just iterating over the
by xxs 2y ago
> Use your favorite library for point+polygon intersection to decide if you're in a national park
it's like 50ish lines of code in C, just iterating over the points (with the polygon represented by arrays of points). The algorithm is linear with regards to the points.
- a_t48 2y agoTrue!