1
0
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:
azv
2015-10-07 09:13:19 +03:00
committed by bugmaster
parent 79f4f03618
commit 1aec33207e
29 changed files with 138 additions and 139 deletions

View File

@@ -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;

View File

@@ -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: