Max gap in SolidWorks

Hey,

Attached part to this question (SolidWorks 2010)

I used API to retrieve the two line endpoints that were converted from geometries in sketches1 and 5 the conclusion was that they don't have the same endpoints (for Sketch1: X: 33.0000025596, Y: 34.000004073; for Sketch2: X: 33, Y: 34).
Despite this fact when these geometries are converted, the endpoints will be merged.
In the case of sketches2 and 4 it is the same with a little change. The distance between the end points is larger (for Sketch2: X: 0.0501256278, Y: 35.9999999884; for Sketch4: X: 0.0501, Y: 36)
In this case the end points will not merge.
My question is what is the maximum distance between two points that they will merge? In this example we see that is not 10e-7.

Thanks

Saar Beno

SolidworksApi macros