(point)
| 2670 | } |
| 2671 | }; |
| 2672 | function inside(point) { |
| 2673 | var a = corner(point, -1), i = insidePolygon([ a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0 ]); |
| 2674 | return i; |
| 2675 | } |
| 2676 | function insidePolygon(p) { |
| 2677 | var wn = 0, n = polygon.length, y = p[1]; |
| 2678 | for (var i = 0; i < n; ++i) { |
no test coverage detected