You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw error code here uses &&: if (currentP[0] !== contour[contourLen][0] && currentP[1] !== contour[contourLen][1])
so the code throw error only if both lat not equal and lon not equal?
throw error code here uses
&&
:if (currentP[0] !== contour[contourLen][0] && currentP[1] !== contour[contourLen][1])
so the code throw error only if both lat not equal and lon not equal?
here is code reference:
https://github.com/rowanwins/point-in-polygon-hao/blob/9cee0e8736917d8a8206ece35267fcd4206b9a39/src/index.js#LL23C9-L26C10
The text was updated successfully, but these errors were encountered: