1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0027824: Parasolid XMT file generates weird geometry after conversion

Fixed adapter for C0 offsets
This commit is contained in:
anv 2016-09-01 12:29:14 +03:00 committed by apn
parent d07a6c39cf
commit bbbca107a2

View File

@ -235,8 +235,8 @@ GeomAbs_Shape GeomAdaptor_Surface::UContinuity() const
case GeomAbs_G2 :
case GeomAbs_C2 : return GeomAbs_C1;
case GeomAbs_G1 :
case GeomAbs_C1 : return GeomAbs_C0;
case GeomAbs_C0 : break;
case GeomAbs_C1 :
case GeomAbs_C0 : return GeomAbs_C0;
}
Standard_NoSuchObject::Raise("GeomAdaptor_Surface::UContinuity");
break;
@ -289,8 +289,8 @@ GeomAbs_Shape GeomAdaptor_Surface::VContinuity() const
case GeomAbs_G2 :
case GeomAbs_C2 : return GeomAbs_C1;
case GeomAbs_G1 :
case GeomAbs_C1 : return GeomAbs_C0;
case GeomAbs_C0 : break;
case GeomAbs_C1 :
case GeomAbs_C0 : return GeomAbs_C0;
}
Standard_NoSuchObject::Raise("GeomAdaptor_Surface::VContinuity");
break;