]> OCCT Git - occt-copy.git/commit
0025455: fixshape works at the second attempt
authorgka <gka@opencascade.com>
Fri, 21 Nov 2014 11:51:01 +0000 (14:51 +0300)
committervsr <vsr@opencascade.com>
Thu, 4 Dec 2014 06:40:40 +0000 (09:40 +0300)
commita54ca2f54c9c30ed53bc2def210bdcb427068e0f
tree270958ef9524317ca0c5beb51bda8f34d9013dc8
parentcb793355eb550668cf050f11e237386da0f7440a
0025455: fixshape works at the second attempt

Added check and fix of tolerances of all vertices after performing all fixes.
It is necessary to avoid situation when point of vertex belonging a few faces was changed for current face
but edges containing this vertex belonging before fixed face are not taking into account.
Mode FixVertexTolMode to manage check tolerance of vertices was added in ShapeFix_Shape
class. (default value is equal to -1)
Method to change FixVertexTolMode mode  FixVertexTolMode() was added in ShapeFix_Shape class

Test case for CR25455
src/ShapeFix/ShapeFix_Shape.cdl
src/ShapeFix/ShapeFix_Shape.cxx
src/ShapeFix/ShapeFix_Shape.lxx
tests/bugs/heal/bug25455 [new file with mode: 0644]