Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated copyright message
[modules/shaper.git]
/
src
/
SketchAPI
/
SketchAPI_BSpline.h
diff --git
a/src/SketchAPI/SketchAPI_BSpline.h
b/src/SketchAPI/SketchAPI_BSpline.h
index 377a7b65dd0d89c79c2aaa27e81cc503af3c3f3f..003a45d9706d812dcd3e05969c874d7743eb1a15 100644
(file)
--- a/
src/SketchAPI/SketchAPI_BSpline.h
+++ b/
src/SketchAPI/SketchAPI_BSpline.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2019-202
0 CEA/DEN, EDF R&D
+// Copyright (C) 2019-202
3 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// 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;
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;
/// Dump wrapped feature
SKETCHAPI_EXPORT
virtual void dump(ModelHighAPI_Dumper& theDumper) const;