If a polygon had two vertices very close together, these may become truly
identical vertices after canonicalization. fixTJunctions choked on this.
Fix: canonicalization removes identical vertices from polygons.
Because fixTJunctions does implicit canonicalization, the problem cannot occur
anymore.
see https://github.com/joostn/OpenJsCad/issues/60
If a polygon had two vertices very close together, these may become truly identical vertices after canonicalization. fixTJunctions choked on this.
Fix: canonicalization removes identical vertices from polygons. Because fixTJunctions does implicit canonicalization, the problem cannot occur anymore.