occt: master a09c8f3a

Author Committer Branch Timestamp Parent
abv abv master 2016-02-24 09:59:36 master 716037dd
Changeset 0027190: IntPatch_ImpPrmIntersection algorithm does not split intersection curve by the seam-edge of the quadric

1. Processing when IntPatch_WLine/IntPatch_RLine goes through the seam edge has been improved in DecomposeResult(...) function (see IntPatch_ImpPrmIntersection.cxx).
2. Incorrect initialization of last point of IntPatch_WLine/IntPatch_RLine has been eliminated. Earlier it was the reason of exception.

Creation of test case for this issue.

Adjusting some test cases according to their new behavior. Namely:

1) tests\bugs\modalg_4\bug825 (bug825_2)
Details are described in issue 0025915. In short, new intersection algorithm works better than old (WLine without "jumping"). However, Boolean operation loses degenerated edges of the sphere. Consequently, we get the result with Not-closed face.

2) tests\bugs\modalg_6\bug26684_2
TolReached of intersection curve has become smaller. Consequently, intersection algorithm works better than earlier.
mod - src/IntPatch/IntPatch_ImpPrmIntersection.cxx Diff File
mod - src/IntTools/IntTools_FaceFace.cxx Diff File
mod - tests/bugs/modalg_4/bug825 Diff File
mod - tests/bugs/modalg_4/bug825_2 Diff File
mod - tests/bugs/modalg_6/bug26684_2 Diff File
add - tests/bugs/modalg_6/bug27190 Diff File