X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_MakeSweep.h;h=05623740b622cd0837c1dcd4f412fec1f2f48c27;hb=d8101383b10bf780a1acf5a356007ad6dbf17711;hp=fee768599be12c4c3ca64f3006f580432b4ddef2;hpb=0d9a107853208317a6352bb7f8c77eb54d5efbe1;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h b/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h index fee768599..05623740b 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h @@ -26,18 +26,35 @@ class GeomAlgoAPI_MakeSweep : public GeomAlgoAPI_MakeShapeList { public: - /// \returns the list of from faces. - GEOMALGOAPI_EXPORT const ListOfShape& fromFaces() const; + /// \returns the list of from shapes. + GEOMALGOAPI_EXPORT const ListOfShape& fromShapes() const; - /// \return the list of to faces. - GEOMALGOAPI_EXPORT const ListOfShape& toFaces() const; + /// \return the list of to shapes. + GEOMALGOAPI_EXPORT const ListOfShape& toShapes() const; + + /// \brief Adds a shape to list of from shape. + /// \param[in] theShape a shape to add. + GEOMALGOAPI_EXPORT void addFromShape(const std::shared_ptr theShape); + + /// \brief Sets from shapes + /// \param[in] theListOfShapes list of from shapes. + GEOMALGOAPI_EXPORT void setFromShapes(const ListOfShape& theListOfShapes); + + /// \brief Adds a face to list of to shape. + /// \param[in] theShape a face to add. + GEOMALGOAPI_EXPORT void addToShape(const std::shared_ptr theShape); + + /// \brief Sets to shapes + /// \param[in] theListOfShapes list of to shapes. + GEOMALGOAPI_EXPORT void setToShapes(const ListOfShape& theListOfShapes); protected: - GeomAlgoAPI_MakeSweep(){}; + /// Empty constructor. + GeomAlgoAPI_MakeSweep() : GeomAlgoAPI_MakeShapeList() {}; private: - ListOfShape myFromFaces; - ListOfShape myToFaces; + ListOfShape myFromShapes; + ListOfShape myToShapes; }; #endif