Salome HOME
3. Mixed topology: solids, faces, edges and vertices
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_MakeSweep.cpp
index 0cb97621f73e2353d505695c8023af045d5deca6..701a99d145504caa3dd302bfdcf298a925479b38 100644 (file)
@@ -4,7 +4,7 @@
 // Created:     23 November 2015
 // Author:      Dmitry Bobylev
 
-#include <GeomAlgoAPI_MakeSweep.h>
+#include "GeomAlgoAPI_MakeSweep.h"
 
 //=================================================================================================
 const ListOfShape& GeomAlgoAPI_MakeSweep::fromFaces() const
@@ -17,3 +17,27 @@ const ListOfShape& GeomAlgoAPI_MakeSweep::toFaces() const
 {
   return myToFaces;
 }
+
+//=================================================================================================
+void GeomAlgoAPI_MakeSweep::addFromFace(const std::shared_ptr<GeomAPI_Shape> theFace)
+{
+  myFromFaces.push_back(theFace);
+}
+
+//=================================================================================================
+void GeomAlgoAPI_MakeSweep::setFromFaces(const ListOfShape& theListOfFaces)
+{
+  myFromFaces = theListOfFaces;
+}
+
+//=================================================================================================
+void GeomAlgoAPI_MakeSweep::addToFace(const std::shared_ptr<GeomAPI_Shape> theFace)
+{
+  myToFaces.push_back(theFace);
+}
+
+//=================================================================================================
+void GeomAlgoAPI_MakeSweep::setToFaces(const ListOfShape& theListOfFaces)
+{
+  myToFaces = theListOfFaces;
+}