X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_ExtrusionBoolean.h;h=6ca1abff478e81b7b293c5457f4264cc60737942;hb=63d86e00e1e6a482fcad527ae0b883deccceed11;hp=1a45cf0cb9b3912b1ff2e2d2c8cb29869b6947b3;hpb=2532fb2df83ee1ddd9ff3e8b381d3788eaa15b69;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_ExtrusionBoolean.h b/src/FeaturesAPI/FeaturesAPI_ExtrusionBoolean.h index 1a45cf0cb..6ca1abff4 100644 --- a/src/FeaturesAPI/FeaturesAPI_ExtrusionBoolean.h +++ b/src/FeaturesAPI/FeaturesAPI_ExtrusionBoolean.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2020 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,9 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef FeaturesAPI_ExtrusionBoolean_H_ @@ -130,6 +130,12 @@ public: FEATURESAPI_EXPORT explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr& theFeature); + /// Constructor with values. + FEATURESAPI_EXPORT + explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr& theFeature, + const std::list& theBaseObjects, + const std::list& theBooleanObjects); + /// Constructor with values. FEATURESAPI_EXPORT explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr& theFeature, @@ -137,6 +143,13 @@ public: const ModelHighAPI_Double& theSize, const std::list& theBooleanObjects); + /// Constructor with values. + FEATURESAPI_EXPORT + explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr& theFeature, + const std::list& theBaseObjects, + const ModelHighAPI_Selection& theDirection, + const std::list& theBooleanObjects); + /// Constructor with values. FEATURESAPI_EXPORT explicit FeaturesAPI_ExtrusionCut(const std::shared_ptr& theFeature, @@ -187,6 +200,13 @@ public: /// Pointer on ExtrusionCut object. typedef std::shared_ptr ExtrusionCutPtr; +/// \ingroup CPPHighAPI +/// \brief Create ExtrusionCut feature. +FEATURESAPI_EXPORT +ExtrusionCutPtr addExtrusionCut(const std::shared_ptr& thePart, + const std::list& theBaseObjects, + const std::list& theBooleanObjects); + /// \ingroup CPPHighAPI /// \brief Create ExtrusionCut feature. FEATURESAPI_EXPORT @@ -195,6 +215,14 @@ ExtrusionCutPtr addExtrusionCut(const std::shared_ptr& thePar const ModelHighAPI_Double& theSize, const std::list& theBooleanObjects); +/// \ingroup CPPHighAPI +/// \brief Create ExtrusionCut feature. +FEATURESAPI_EXPORT +ExtrusionCutPtr addExtrusionCut(const std::shared_ptr& thePart, + const std::list& theBaseObjects, + const ModelHighAPI_Selection& theDirection, + const std::list& theBooleanObjects); + /// \ingroup CPPHighAPI /// \brief Create ExtrusionCut feature. FEATURESAPI_EXPORT @@ -259,6 +287,12 @@ public: FEATURESAPI_EXPORT explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr& theFeature); + /// Constructor with values. + FEATURESAPI_EXPORT + explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr& theFeature, + const std::list& theBaseObjects, + const std::list& theBooleanObjects); + /// Constructor with values. FEATURESAPI_EXPORT explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr& theFeature, @@ -266,6 +300,13 @@ public: const ModelHighAPI_Double& theSize, const std::list& theBooleanObjects); + /// Constructor with values. + FEATURESAPI_EXPORT + explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr& theFeature, + const std::list& theBaseObjects, + const ModelHighAPI_Selection& theDirection, + const std::list& theBooleanObjects); + /// Constructor with values. FEATURESAPI_EXPORT explicit FeaturesAPI_ExtrusionFuse(const std::shared_ptr& theFeature, @@ -316,6 +357,13 @@ public: /// Pointer on ExtrusionFuse object. typedef std::shared_ptr ExtrusionFusePtr; +/// \ingroup CPPHighAPI +/// \brief Create ExtrusionFuse feature. +FEATURESAPI_EXPORT +ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr& thePart, + const std::list& theBaseObjects, + const std::list& theBooleanObjects); + /// \ingroup CPPHighAPI /// \brief Create ExtrusionFuse feature. FEATURESAPI_EXPORT @@ -324,6 +372,14 @@ ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr& theP const ModelHighAPI_Double& theSize, const std::list& theBooleanObjects); +/// \ingroup CPPHighAPI +/// \brief Create ExtrusionFuse feature. +FEATURESAPI_EXPORT +ExtrusionFusePtr addExtrusionFuse(const std::shared_ptr& thePart, + const std::list& theBaseObjects, + const ModelHighAPI_Selection& theDirection, + const std::list& theBooleanObjects); + /// \ingroup CPPHighAPI /// \brief Create ExtrusionFuse feature. FEATURESAPI_EXPORT