Apply snap distance to determining whether polygons are closed
Apply snap distance to determining whether polygons are closed

There can be rounding errors in there.

Contributes to issue CURA-8091.

Ultimaker/CuraEngine,Ultimaker/CuraEngine