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

0028802: The tolerance reached by approximator is used in creation of an edge, it is incorrect

Method IntTools_FaceFace::MakeCurve is modified: reached tolerances 2d and 3d of approximator are not used for edges.
This commit is contained in:
jgv
2017-06-09 15:21:04 +03:00
committed by bugmaster
parent 4201bf79fb
commit bdae3beb87
9 changed files with 16 additions and 13 deletions

View File

@@ -1313,9 +1313,6 @@ void IntTools_FaceFace::MakeCurve(const Standard_Integer Index,
}
else {
if (typs1 == GeomAbs_Plane || typs2 == GeomAbs_Plane) {
if (aTolC < theapp3d.TolReached2d()) {
aTolC = theapp3d.TolReached2d();
}
//
if (typs1 == GeomAbs_Torus || typs2 == GeomAbs_Torus) {
if (aTolC < 1.e-6) {
@@ -1323,9 +1320,6 @@ void IntTools_FaceFace::MakeCurve(const Standard_Integer Index,
}
}
}
else if (aTolC < theapp3d.TolReached3d()) {
aTolC = theapp3d.TolReached3d();
}
//
Standard_Integer aNbMultiCurves, nbpoles;
aNbMultiCurves=theapp3d.NbMultiCurves();