]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_BSpline.h
Salome HOME
Issue #3231: Convert Offset curves to b-splines. Order wires.
[modules/shaper.git] / src / GeomAPI / GeomAPI_BSpline.h
index 95468bec452e447402013653e038af3e95fb636d..275b94dda46ff98b968ffad96b5cc70382120f39 100644 (file)
@@ -36,7 +36,10 @@ class GeomAPI_BSpline : public GeomAPI_Interface
 {
 public:
   /// Creation of B-spline defined by a curve
-  GEOMAPI_EXPORT GeomAPI_BSpline(const GeomCurvePtr& theCurve);
+  /// \param isForced if true and theCurve is not a b-spline
+  ///                 curve, theCurve is converted to b-spline
+  GEOMAPI_EXPORT GeomAPI_BSpline (const GeomCurvePtr& theCurve,
+                                  const bool isForced = false);
 
   /// Degree of B-spline curve
   GEOMAPI_EXPORT int degree() const;