#include <ModelHighAPI_Interface.h>
#include <ModelHighAPI_Macro.h>
+#include <ModelHighAPI_Selection.h>
//--------------------------------------------------------------------------------------
class ModelAPI_CompositeFeature;
class ModelAPI_Object;
class ModelHighAPI_Integer;
class ModelHighAPI_RefAttr;
class ModelHighAPI_Reference;
-class ModelHighAPI_Selection;
class SketchAPI_Arc;
class SketchAPI_MacroArc;
class SketchAPI_Circle;
/// Add B-spline
SKETCHAPI_EXPORT
std::shared_ptr<SketchAPI_BSpline> addSpline(
- const std::list<std::shared_ptr<GeomAPI_Pnt2d> >& thePoles,
- const std::list<ModelHighAPI_Double>& theWeights = std::list<ModelHighAPI_Double>());
- /// Add B-spline
- SKETCHAPI_EXPORT
- std::shared_ptr<SketchAPI_BSpline> addSpline(
- const int theDegree,
- const std::list<std::shared_ptr<GeomAPI_Pnt2d> >& thePoles,
- const std::list<ModelHighAPI_Double>& theWeights = std::list<ModelHighAPI_Double>(),
- const std::list<ModelHighAPI_Double>& theKnots = std::list<ModelHighAPI_Double>(),
- const std::list<ModelHighAPI_Integer>& theMults = std::list<ModelHighAPI_Integer>());
- /// Add B-spline
- SKETCHAPI_EXPORT
- std::shared_ptr<SketchAPI_BSpline> addSpline(const ModelHighAPI_Selection & theExternal);
- /// Add B-spline
- SKETCHAPI_EXPORT
- std::shared_ptr<SketchAPI_BSpline> addSpline(const std::string & theExternalName);
+ const ModelHighAPI_Selection & external = ModelHighAPI_Selection(),
+ const int degree = -1,
+ const std::list<std::shared_ptr<GeomAPI_Pnt2d> >& poles =
+ std::list<std::shared_ptr<GeomAPI_Pnt2d> >(),
+ const std::list<ModelHighAPI_Double>& weights = std::list<ModelHighAPI_Double>(),
+ const std::list<ModelHighAPI_Double>& knots = std::list<ModelHighAPI_Double>(),
+ const std::list<ModelHighAPI_Integer>& multiplicities = std::list<ModelHighAPI_Integer>(),
+ const bool periodic = false);
/// Add projection
SKETCHAPI_EXPORT