X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_MakeSweep.h;h=05623740b622cd0837c1dcd4f412fec1f2f48c27;hb=f0cec241aae9ca16d86e166f45cb5c4987d2c792;hp=d9c5f4ec2a24820c29d752742c8e2577e0473734;hpb=2a232230cb243c76c34315623d6e6689f57e83f4;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h b/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h index d9c5f4ec2..05623740b 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h @@ -26,35 +26,35 @@ class GeomAlgoAPI_MakeSweep : public GeomAlgoAPI_MakeShapeList { public: - /// \returns the list of from faces. - GEOMALGOAPI_EXPORT virtual const ListOfShape& fromFaces() const; + /// \returns the list of from shapes. + GEOMALGOAPI_EXPORT const ListOfShape& fromShapes() const; - /// \return the list of to faces. - GEOMALGOAPI_EXPORT virtual const ListOfShape& toFaces() const; + /// \return the list of to shapes. + GEOMALGOAPI_EXPORT const ListOfShape& toShapes() const; -protected: - /// Empty constructor. - GeomAlgoAPI_MakeSweep() : GeomAlgoAPI_MakeShapeList() {}; + /// \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 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 shapes + /// \param[in] theListOfShapes list of from shapes. + GEOMALGOAPI_EXPORT void setFromShapes(const ListOfShape& theListOfShapes); - /// \brief Sets from faces - /// \param[in] theListOfFaces list of from faces. - void setFromFaces(const ListOfShape& theListOfFaces); + /// \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 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 shapes + /// \param[in] theListOfShapes list of to shapes. + GEOMALGOAPI_EXPORT void setToShapes(const ListOfShape& theListOfShapes); - /// \brief Sets to faces - /// \param[in] theListOfFaces list of to faces. - void setToFaces(const ListOfShape& theListOfFaces); +protected: + /// Empty constructor. + GeomAlgoAPI_MakeSweep() : GeomAlgoAPI_MakeShapeList() {}; private: - ListOfShape myFromFaces; - ListOfShape myToFaces; + ListOfShape myFromShapes; + ListOfShape myToShapes; }; #endif