mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0027824: Parasolid XMT file generates weird geometry after conversion
Fixed adapter for C0 offsets
This commit is contained in:
parent
d07a6c39cf
commit
bbbca107a2
@ -235,8 +235,8 @@ GeomAbs_Shape GeomAdaptor_Surface::UContinuity() const
|
|||||||
case GeomAbs_G2 :
|
case GeomAbs_G2 :
|
||||||
case GeomAbs_C2 : return GeomAbs_C1;
|
case GeomAbs_C2 : return GeomAbs_C1;
|
||||||
case GeomAbs_G1 :
|
case GeomAbs_G1 :
|
||||||
case GeomAbs_C1 : return GeomAbs_C0;
|
case GeomAbs_C1 :
|
||||||
case GeomAbs_C0 : break;
|
case GeomAbs_C0 : return GeomAbs_C0;
|
||||||
}
|
}
|
||||||
Standard_NoSuchObject::Raise("GeomAdaptor_Surface::UContinuity");
|
Standard_NoSuchObject::Raise("GeomAdaptor_Surface::UContinuity");
|
||||||
break;
|
break;
|
||||||
@ -289,8 +289,8 @@ GeomAbs_Shape GeomAdaptor_Surface::VContinuity() const
|
|||||||
case GeomAbs_G2 :
|
case GeomAbs_G2 :
|
||||||
case GeomAbs_C2 : return GeomAbs_C1;
|
case GeomAbs_C2 : return GeomAbs_C1;
|
||||||
case GeomAbs_G1 :
|
case GeomAbs_G1 :
|
||||||
case GeomAbs_C1 : return GeomAbs_C0;
|
case GeomAbs_C1 :
|
||||||
case GeomAbs_C0 : break;
|
case GeomAbs_C0 : return GeomAbs_C0;
|
||||||
}
|
}
|
||||||
Standard_NoSuchObject::Raise("GeomAdaptor_Surface::VContinuity");
|
Standard_NoSuchObject::Raise("GeomAdaptor_Surface::VContinuity");
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user