eliminateHole function
dynamic
eliminateHole(
- dynamic hole,
- dynamic outerNode
Implementation
eliminateHole(hole, outerNode) {
outerNode = findHoleBridge(hole, outerNode);
if (outerNode != null) {
var b = splitPolygon(outerNode, hole);
// filter collinear points around the cuts
filterPoints(outerNode, outerNode.next);
filterPoints(b, b.next);
}
}