add healing to open top polys if ends are close. update support union call

This commit is contained in:
Stewart Allen 2020-11-23 10:52:20 -05:00
commit 6470be92ca
2 changed files with 7 additions and 2 deletions

View file

@ -688,8 +688,8 @@
}
}
// undo temp del/used marks
for (let i=0; i<stack.length; i++) stack[i].del = false;
// stack.forEach(function(p) { p.del = false });
}
// emit a polygon if it can be cleaned and still have 2 or more points