X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_BSpline.h;h=003a45d9706d812dcd3e05969c874d7743eb1a15;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=377a7b65dd0d89c79c2aaa27e81cc503af3c3f3f;hpb=bb4ab20a1f03f936d4d8511eb9e9733ee965bb72;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_BSpline.h b/src/SketchAPI/SketchAPI_BSpline.h index 377a7b65d..003a45d97 100644 --- a/src/SketchAPI/SketchAPI_BSpline.h +++ b/src/SketchAPI/SketchAPI_BSpline.h @@ -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& regular = std::list(), const std::list& auxiliary = std::list()) const; + /// Insert new pole after the pole with the given index + SKETCHAPI_EXPORT + bool insertPole(const int theIndex, + const std::shared_ptr& theCoordinates, + const ModelHighAPI_Double& theWeight = ModelHighAPI_Double(1.0)); + /// Dump wrapped feature SKETCHAPI_EXPORT virtual void dump(ModelHighAPI_Dumper& theDumper) const;