point-inside-polygon
Check if point is inside polygon
Install
Usage
assert(inside([1,1], [[0,0], [2,0], [2,2], [0,0]])===true);
Tests
mocha
Source
http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html
Check if point is inside polygon
assert(inside([1,1], [[0,0], [2,0], [2,2], [0,0]])===true);
mocha
http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html
npm i point-inside-polygon
440
1.0.3
ISC