From 0564092bc9c70326e221307db477e9a7d902a639 Mon Sep 17 00:00:00 2001 From: Pawel Date: Mon, 16 Jul 2012 12:34:22 +0200 Subject: [PATCH] 0023287: IntPolyh_MaillageAffinage.cxx, line 2217: "identical sub-expressions to the left and to the right of the '-' operator" Changed the redundant curve type Geom(2d)_BSplineCurve to Geom(2d)_BezierCurve. --- src/GeomLib/GeomLib_Tool.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GeomLib/GeomLib_Tool.cxx b/src/GeomLib/GeomLib_Tool.cxx index 2c232d259d..aa712b9899 100755 --- a/src/GeomLib/GeomLib_Tool.cxx +++ b/src/GeomLib/GeomLib_Tool.cxx @@ -296,7 +296,7 @@ Standard_Boolean GeomLib_Tool::Parameter(const Handle(Geom_Curve)& Curve, } // process parametrical curves else if( KindOfCurve == STANDARD_TYPE (Geom_BSplineCurve) || - KindOfCurve == STANDARD_TYPE (Geom_BSplineCurve) || + KindOfCurve == STANDARD_TYPE (Geom_BezierCurve) || KindOfCurve == STANDARD_TYPE (Geom_TrimmedCurve) || KindOfCurve == STANDARD_TYPE (Geom_OffsetCurve) ) { @@ -546,7 +546,7 @@ Standard_Boolean GeomLib_Tool::Parameter(const Handle(Geom2d_Curve)& Curve, } // process parametrical curves else if( KindOfCurve == STANDARD_TYPE (Geom2d_BSplineCurve) || - KindOfCurve == STANDARD_TYPE (Geom2d_BSplineCurve) || + KindOfCurve == STANDARD_TYPE (Geom2d_BezierCurve) || KindOfCurve == STANDARD_TYPE (Geom2d_TrimmedCurve) || KindOfCurve == STANDARD_TYPE (Geom2d_OffsetCurve) ) { -- 2.39.5