mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0026254: Inject GeomAbs_OffsetCurve into GeomAbs_CurveType enumeration
This commit is contained in:
@@ -868,6 +868,7 @@ ProjLib_ComputeApprox::ProjLib_ComputeApprox
|
||||
|
||||
Standard_Boolean CurvIsAnal = (CType != GeomAbs_BSplineCurve) &&
|
||||
(CType != GeomAbs_BezierCurve) &&
|
||||
(CType != GeomAbs_OffsetCurve) &&
|
||||
(CType != GeomAbs_OtherCurve) ;
|
||||
|
||||
Standard_Boolean simplecase = SurfIsAnal && CurvIsAnal;
|
||||
|
@@ -246,6 +246,7 @@ static void Project(ProjLib_Projector& P, Handle(Adaptor3d_HCurve)& C)
|
||||
break;
|
||||
case GeomAbs_BSplineCurve:
|
||||
case GeomAbs_BezierCurve:
|
||||
case GeomAbs_OffsetCurve:
|
||||
case GeomAbs_OtherCurve: // try the approximation
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user