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::fromShapes() const
15 //=================================================================================================
16 const ListOfShape& GeomAlgoAPI_MakeSweep::toShapes() const
21 //=================================================================================================
22 void GeomAlgoAPI_MakeSweep::addFromShape(const std::shared_ptr<GeomAPI_Shape> theFace)
24 myFromShapes.push_back(theFace);
27 //=================================================================================================
28 void GeomAlgoAPI_MakeSweep::setFromShapes(const ListOfShape& theListOfFaces)
30 myFromShapes = theListOfFaces;
33 //=================================================================================================
34 void GeomAlgoAPI_MakeSweep::addToShape(const std::shared_ptr<GeomAPI_Shape> theFace)
36 myToShapes.push_back(theFace);
39 //=================================================================================================
40 void GeomAlgoAPI_MakeSweep::setToShapes(const ListOfShape& theListOfFaces)
42 myToShapes = theListOfFaces;