mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
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.
This commit is contained in:
parent
35958a5847
commit
0564092bc9
@ -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) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user