Salome HOME
updated copyright message
[modules/shaper.git] / src / SketchAPI / SketchAPI_BSpline.h
index 377a7b65dd0d89c79c2aaa27e81cc503af3c3f3f..003a45d9706d812dcd3e05969c874d7743eb1a15 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -97,6 +97,12 @@ public:
       const std::list<int>& regular   = std::list<int>(),
       const std::list<int>& auxiliary = std::list<int>()) const;
 
+  /// Insert new pole after the pole with the given index
+  SKETCHAPI_EXPORT
+  bool insertPole(const int theIndex,
+                  const std::shared_ptr<GeomAPI_Pnt2d>& theCoordinates,
+                  const ModelHighAPI_Double& theWeight = ModelHighAPI_Double(1.0));
+
   /// Dump wrapped feature
   SKETCHAPI_EXPORT
   virtual void dump(ModelHighAPI_Dumper& theDumper) const;