1.0.1 • Published 5 years ago

@garvey/poi-in-zone v1.0.1

Weekly downloads
86
License
ISC
Repository
github
Last release
5 years ago

garvey-shield

Determine if the point is within the area quickly. Judging whether the point is inside the polygon we have many good methods such as ray method and corner method, but they are all slower.This method only provides a light calculation idea

try it

run

npm i @garvey/poi-in-zone

and write in your file:

const poiInZone = require('@garvey/poi-in-zone')
// or
import poiInZone from '@garvey/poi-in-zone'
// or
...as you want