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