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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user