X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_MakeSweep.h;h=d9c5f4ec2a24820c29d752742c8e2577e0473734;hb=b2a662eec6a0258d51a67ee7e341541e7a710752;hp=a25bbe681b605e23f43cc51bc9d7bababa77eb17;hpb=811b2ca2d1a046ba83da8c4848c2d3cf061b6afa;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h b/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h index a25bbe681..d9c5f4ec2 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h @@ -27,15 +27,32 @@ class GeomAlgoAPI_MakeSweep : public GeomAlgoAPI_MakeShapeList { public: /// \returns the list of from faces. - GEOMALGOAPI_EXPORT const ListOfShape& fromFaces() const; + GEOMALGOAPI_EXPORT virtual const ListOfShape& fromFaces() const; /// \return the list of to faces. - GEOMALGOAPI_EXPORT const ListOfShape& toFaces() const; + GEOMALGOAPI_EXPORT virtual const ListOfShape& toFaces() const; protected: - GeomAlgoAPI_MakeSweep(){}; + /// Empty constructor. + GeomAlgoAPI_MakeSweep() : GeomAlgoAPI_MakeShapeList() {}; -protected: + /// \brief Adds a face to list of from faces. + /// \param[in] theFace a face to add. + void addFromFace(const std::shared_ptr theFace); + + /// \brief Sets from faces + /// \param[in] theListOfFaces list of from faces. + void setFromFaces(const ListOfShape& theListOfFaces); + + /// \brief Adds a face to list of to faces. + /// \param[in] theFace a face to add. + void addToFace(const std::shared_ptr theFace); + + /// \brief Sets to faces + /// \param[in] theListOfFaces list of to faces. + void setToFaces(const ListOfShape& theListOfFaces); + +private: ListOfShape myFromFaces; ListOfShape myToFaces; };