1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0030629: Modeling Algorithms - Invalid result of fuse operation

Plane/Torus intersection: take into account the Plane-Torus distance sign to compute the correct location of the section curve.

Test case for the issue.
This commit is contained in:
emv
2019-04-04 09:59:24 +03:00
committed by apn
parent fc867b96a5
commit cea8d5c1ab
2 changed files with 23 additions and 1 deletions

View File

@@ -2077,7 +2077,7 @@ void IntAna_QuadQuadGeo::Perform(const gp_Pln& Pln,
}
//
if (Abs(aDR) < aTolNum) {
aDist=aRMin;
aDist = (aDist < 0) ? -aRMin : aRMin;
}
//
typeres = IntAna_Circle;