Open MitchellMonaghan opened 1 year ago
This issue can be resolved by setting the precision to something like 1e-12 before performing the operation.
For example:
polyclip.setPrecision(1e-12)
polyclip.intersection(poly1, poly2)
will give the following result:
[
[ -94.01653361819794, 44.91274384567805 ],
[ -94.01648672631458, 44.91275462177405 ],
[ -94.01653344003874, 44.91275386419229 ],
[ -94.01653361819794, 44.91274384567805 ]
]
Doing a intersect on these two shapes seems to produce the
unable to complete output ring starting at
error