X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_MakeSweep.cpp;h=7a59ae3444b604ce52c340899320f50a9d357378;hb=f0cec241aae9ca16d86e166f45cb5c4987d2c792;hp=0cb97621f73e2353d505695c8023af045d5deca6;hpb=cbde248859fb0072f6012907391ea90cfc254574;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.cpp index 0cb97621f..7a59ae344 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.cpp @@ -4,16 +4,40 @@ // Created: 23 November 2015 // Author: Dmitry Bobylev -#include +#include "GeomAlgoAPI_MakeSweep.h" //================================================================================================= -const ListOfShape& GeomAlgoAPI_MakeSweep::fromFaces() const +const ListOfShape& GeomAlgoAPI_MakeSweep::fromShapes() const { - return myFromFaces; + return myFromShapes; } //================================================================================================= -const ListOfShape& GeomAlgoAPI_MakeSweep::toFaces() const +const ListOfShape& GeomAlgoAPI_MakeSweep::toShapes() const { - return myToFaces; + return myToShapes; +} + +//================================================================================================= +void GeomAlgoAPI_MakeSweep::addFromShape(const std::shared_ptr theFace) +{ + myFromShapes.push_back(theFace); +} + +//================================================================================================= +void GeomAlgoAPI_MakeSweep::setFromShapes(const ListOfShape& theListOfFaces) +{ + myFromShapes = theListOfFaces; +} + +//================================================================================================= +void GeomAlgoAPI_MakeSweep::addToShape(const std::shared_ptr theFace) +{ + myToShapes.push_back(theFace); +} + +//================================================================================================= +void GeomAlgoAPI_MakeSweep::setToShapes(const ListOfShape& theListOfFaces) +{ + myToShapes = theListOfFaces; }