0027252: Implicit-implicit intersection (Cylinder-Plane) loses intersection curve
authornbv <nbv@opencascade.com>
Thu, 26 Jan 2017 10:33:50 +0000 (13:33 +0300)
committerapn <apn@opencascade.com>
Thu, 26 Jan 2017 10:34:16 +0000 (13:34 +0300)
commitf542b7bbf1f3bc0b36b33c158580fb1909561a08
tree5639f4196c5f6062cab907ef50816b6a7f5877ba
parent31211c6cfe2aa62f52018ff7684770ab3f8f387d
0027252: Implicit-implicit intersection (Cylinder-Plane) loses intersection curve

1. Earlier we could not put any IntPatch_Point to the intersection curve. The fix makes the algorithm of IntPatch_Points searching more precise. It is achieved by redetermination of earlier found vertices with help of minimization the distance between boundary of one intersection argument and another intersection argument (surface).
2. Additional check has been added, if IntPatch_Point adjusted to the domain boundary is true intersection point.
3. Method Contap_ArcFunction::Surface() has been added.
4. Method LastComputedPoint() has been added for IntPatch_ArcFunction and Contap_ArcFunction classes.
5. Correction in FindMaxDistance() method (see IntTools_FaceFace.cxx file) according to pure Golden-ratio minimization algorithm. Earlier this function worked wrong with small searching intervals.
6. Insignificant correction in math_BrentMinimum.cxx file (elimination of "defines").
Creation of test case for issues #27221 an #27252.
Adjusting some test cases according to their new behavior.
Correction according to the last remarks.
Small correction of shape names for issue CR27252
Test case for issue 28210
Small correction of test case for issue 28210
21 files changed:
src/Contap/Contap_ArcFunction.hxx
src/Contap/Contap_ArcFunction.lxx
src/IntPatch/IntPatch_ArcFunction.hxx
src/IntPatch/IntPatch_ArcFunction.lxx
src/IntStart/IntStart_SearchOnBoundaries.gxx
src/IntTools/IntTools_FaceFace.cxx
src/math/math_BrentMinimum.cxx
tests/bugs/modalg_2/bug497_3
tests/bugs/modalg_2/bug497_5
tests/bugs/modalg_5/bug25292_36
tests/bugs/modalg_6/bug26841_1
tests/bugs/modalg_6/bug26841_2
tests/bugs/modalg_6/bug27221 [new file with mode: 0644]
tests/bugs/modalg_6/bug27252_1 [new file with mode: 0644]
tests/bugs/modalg_6/bug27252_2 [new file with mode: 0644]
tests/bugs/modalg_6/bug27252_3 [new file with mode: 0644]
tests/bugs/modalg_6/bug27252_4 [new file with mode: 0644]
tests/bugs/modalg_6/bug27341_319
tests/bugs/modalg_6/bug27341_320
tests/bugs/modalg_6/bug28210 [new file with mode: 0644]
tests/bugs/moddata_2/bug569