]> OCCT Git - occt-copy.git/commit
0027182: Wrong result of General Fuse operation for two spheres
authoremv <emv@opencascade.com>
Mon, 21 Mar 2016 10:14:20 +0000 (13:14 +0300)
committerrnv <rnv@opencascade.com>
Mon, 13 Mar 2017 08:36:28 +0000 (11:36 +0300)
commitbcf8e95ac2e84f7b3c1dcb919f54cbe98c554bc8
treeb5e4f32dc85a663af28b1e061992c140337eada1
parentd51b89a554bf138d5ded5e9e7e323af0ec5b895f
0027182: Wrong result of General Fuse operation for two spheres

1. The static method Standard_Real MinStep3D(...) in the class BOPTools_AlgoTools is
now checks if the computed 3D step is too big (relatively UV range of the faces)
for any of the faces.

2. The method PointInFace(...) of the class BOPTools_AlgoTools3D has been redesigned.
The new PointInFace(...) methods have been implemented to add possibility for looking the point
inside the face in necessary direction and distance from the edge of the face.
Note: old implementation is also functional.

3. Make methods for finding points near edges and computing normal directions on faces
return error status (0 in case of success).

4. Test case for the issue.

5. Test cases offset shape_type_i_c XJ2,XJ4,XJ5,XJ6 are improvements.

Removing useless file
src/BOPTools/BOPTools_AlgoTools.cxx
src/BOPTools/BOPTools_AlgoTools3D.cxx
src/BOPTools/BOPTools_AlgoTools3D.hxx
src/ShapeFix/ShapeFix_Solid.lxx [deleted file]
tests/boolean/bopcommon_complex/J1
tests/bugs/modalg_6/bug27182 [new file with mode: 0644]
tests/offset/shape_type_i_c/XJ2
tests/offset/shape_type_i_c/XJ4
tests/offset/shape_type_i_c/XJ5
tests/offset/shape_type_i_c/XJ6