Salome HOME
updated copyright message
[modules/shaper.git] / src / BuildPlugin / BuildPlugin_Face.h
index 90cc1933350af57a58b91987c2450f5dcd7723a8..1d033b36e20d41cf97e5bec5398832325e1aedb9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  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
 #define BuildPlugin_Face_H_
 
 #include "BuildPlugin.h"
-
-#include <ModelAPI_Feature.h>
+#include "BuildPlugin_Shape.h"
 
 class GeomAPI_Dir;
 class GeomAPI_Shape;
+class GeomAlgoAPI_MakeShape;
 
 /// \class BuildPlugin_Face
 /// \ingroup Plugins
 /// \brief Feature for creation of face from sketch edges or existing wires.
-class BuildPlugin_Face: public ModelAPI_Feature
+class BuildPlugin_Face: public BuildPlugin_Shape
 {
 public:
   /// Use plugin manager for features creation
@@ -67,7 +67,8 @@ private:
   /// Create faces basing on the list of edges
   void buildFacesByEdges(const std::list< std::shared_ptr<GeomAPI_Shape> >& theEdges,
                          const std::list< std::shared_ptr<GeomAPI_Dir> >& theNormals,
-                         std::list< std::shared_ptr<GeomAPI_Shape> >& theFaces) const;
+                         std::list< std::shared_ptr<GeomAPI_Shape> >& theFaces,
+                         std::shared_ptr<GeomAlgoAPI_MakeShape>& theBuilderAlgo) const;
 };
 
 #endif