]> OCCT Git - occt-copy.git/commit
0027310: Huge tolerance obtained in the result of intersection of two cylindrical...
authornbv <nbv@opencascade.com>
Thu, 7 Apr 2016 10:53:57 +0000 (13:53 +0300)
committernbv <nbv@opencascade.com>
Mon, 22 May 2017 07:14:31 +0000 (10:14 +0300)
commitc31217f83c782fab73c00c78cb8e5427ce1302be
tree29ed6f5371bb901c1dad7313504313a766c16ad7
parent507dd6d5798795de8bc1b4d8b57c1ca8c9631cb3
0027310: Huge tolerance obtained in the result of intersection of two cylindrical faces

Sometimes start point of the intersection line is in the surface boundary strictly. I.e. the parameter of this point in the surface can be equal to both 0 or 2*PI equivalently. It is important to chose correct parameter value.

The algorithm of prediction is based on monotonicity property (see CylCylMonotonicity(...) function in IntPatch_ImpImpIntersection_4.gxx). Now, this function is used wrongly. The fix improves this situation.

Small optimization in the code.
Creation of test cases .

The logic of returning value by the method BoundariesComputing() has been corrected.

(cherry picked from commit 79997052f158c0512ff4d10ecb896e4899d24077)
src/IntPatch/IntPatch_ImpImpIntersection_4.gxx
tests/bugs/modalg_6/bug27310_1 [new file with mode: 0644]
tests/bugs/modalg_6/bug27310_2 [new file with mode: 0644]