mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025747: Bad IGES file after import and export with different units
- Fixed ellipse curve radius scale - Fixed hyperbola curve radius scale - Fixed plane surface scale - Fixed cylindrical, conical, spherical, toroidal radius and axis scale Test case for issue CR25747
This commit is contained in:
@@ -256,9 +256,9 @@ IGESGeom_ConicArc::IGESGeom_ConicArc () { }
|
||||
Standard_Real cos2t;
|
||||
Standard_Real auxil;
|
||||
|
||||
if (Abs(term2)<= eps && Abs(term1)<= eps) {
|
||||
if (Abs(term1)< gp::Resolution()) {
|
||||
cos2t = 1.;
|
||||
auxil = 0.;
|
||||
auxil = term2;
|
||||
}
|
||||
else {
|
||||
Standard_Real t2d = term2/term1; //skl 28.12.2001
|
||||
|
Reference in New Issue
Block a user