1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: GeomAlgoAPI_MakeSweep.cpp
4 // Created: 23 November 2015
5 // Author: Dmitry Bobylev
7 #include "GeomAlgoAPI_MakeSweep.h"
9 //=================================================================================================
10 const ListOfShape& GeomAlgoAPI_MakeSweep::fromFaces() const
15 //=================================================================================================
16 const ListOfShape& GeomAlgoAPI_MakeSweep::toFaces() const
21 //=================================================================================================
22 void GeomAlgoAPI_MakeSweep::addFromFace(const std::shared_ptr<GeomAPI_Shape> theFace)
24 myFromFaces.push_back(theFace);
27 //=================================================================================================
28 void GeomAlgoAPI_MakeSweep::setFromFaces(const ListOfShape& theListOfFaces)
30 myFromFaces = theListOfFaces;
33 //=================================================================================================
34 void GeomAlgoAPI_MakeSweep::addToFace(const std::shared_ptr<GeomAPI_Shape> theFace)
36 myToFaces.push_back(theFace);
39 //=================================================================================================
40 void GeomAlgoAPI_MakeSweep::setToFaces(const ListOfShape& theListOfFaces)
42 myToFaces = theListOfFaces;