1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +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

@@ -236,12 +236,14 @@ static void EvalParameters(const TopoDS_Edge& Edge,
// extra solutions those would cause *Exception*: incoherent intersection
GeomAbs_CurveType CType = AC.GetType(), BisType = ABis.GetType();
Standard_Boolean canElongateC = !(CType == GeomAbs_BezierCurve ||
CType == GeomAbs_BSplineCurve ||
CType == GeomAbs_OtherCurve);
Standard_Boolean canElongateBis = !(BisType == GeomAbs_BezierCurve ||
BisType == GeomAbs_BSplineCurve ||
BisType == GeomAbs_OtherCurve);
Standard_Boolean canElongateC = !(CType == GeomAbs_BezierCurve ||
CType == GeomAbs_BSplineCurve ||
CType == GeomAbs_OffsetCurve ||
CType == GeomAbs_OtherCurve);
Standard_Boolean canElongateBis = !(BisType == GeomAbs_BezierCurve ||
BisType == GeomAbs_BSplineCurve ||
BisType == GeomAbs_OffsetCurve ||
BisType == GeomAbs_OtherCurve);
Handle(Geom2d_TrimmedCurve) TBis = Handle(Geom2d_TrimmedCurve)::DownCast(Bis);
Handle(Geom2d_TrimmedCurve) TC2d = Handle(Geom2d_TrimmedCurve)::DownCast(C2d);