FreeCAD: master 97ca11f9

Author Committer Branch Timestamp Parent
wandererfan yorik master 2017-04-02 17:12:04 master 21f683e8
Changeset Increase tolerance for overlapping Vertexes

Some "valid" shapes are being passed to findShapeOutline where edges
that should be connected are in fact separated 10x the expected tolerance
(2*Precision::Confusion) for 2 overlapping TopoDS_Vertex.
IntTools_Tools:ComputeVV also reports these Vertices as further apart than
their combined tolerances should allow.
This change introduces a tolerance into DrawUtil and EdgeWalker vertex
comparisions that is quite "sloppy" (0.00001) but which handles the sample
objects correctly. This tolerance is adequate for drawings. Other uses
should be considered on case by case basis.
mod - src/Mod/TechDraw/App/DrawUtil.cpp Diff File
mod - src/Mod/TechDraw/App/DrawUtil.h Diff File
mod - src/Mod/TechDraw/App/EdgeWalker.cpp Diff File