Check if two polygons overlap
npm install polygon-overlapCheck if two polygons overlap
npm install polygon-overlapbower install polygon-overlap
const p0 = [[0,0], [1,0], [1,1]];
const p1 = [[0.5,0.5], [1.5,0.5], [1.5,1.5]];
assert(overlap(p0, p1)===true);
`Tests
mocha`