X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_PaveFiller.h;h=3df2e330b0b8ced3d79bbcffcaa475025cb31091;hb=ff4d5d0f42cf5d24b86b2bd2b6e1f58e74f52032;hp=f508e7e20fc1c62a4024fb72ebfbace666a92f65;hpb=a95effb94656e5d4721f86ccb6ffbc2572bb1214;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_PaveFiller.h b/src/GeomAlgoAPI/GeomAlgoAPI_PaveFiller.h index f508e7e20..3df2e330b 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_PaveFiller.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_PaveFiller.h @@ -11,47 +11,23 @@ #include #include -#include -#include -/** \class GeomAlgoAPI_PaveFiller - * \ingroup DataAlgo - * \brief Finds the common parts from the list of shapes and breaks it to shapes with shared subshapes. - */ -class GeomAlgoAPI_PaveFiller : public GeomAPI_Interface +/// \class GeomAlgoAPI_PaveFiller +/// \ingroup DataAlgo +/// \brief Finds the common parts from the list of shapes and +/// breaks it to shapes with shared subshapes. +class GeomAlgoAPI_PaveFiller : public GeomAlgoAPI_MakeShape { public: - /** \brief Constructor. - * \param[in] theListOfShape list of shape which should be splitted. - * \param[in] theIsMakeCompSolids if true gather shapes with shared faces to compsolids. - */ - GEOMALGOAPI_EXPORT GeomAlgoAPI_PaveFiller(const ListOfShape& theListOfShape, const bool theIsMakeCompSolids = false); - - /// \return true if algorithm succeed. - GEOMALGOAPI_EXPORT const bool isDone() const; - - /// \return true if resulting shape is valid. - GEOMALGOAPI_EXPORT const bool isValid() const; - - /// \return result of the boolean algorithm. - GEOMALGOAPI_EXPORT std::shared_ptr shape() const; - - /// \return map of sub-shapes of the result. To be used for History keeping. - GEOMALGOAPI_EXPORT std::shared_ptr mapOfShapes() const; - - /// \return interface for for History processing. - GEOMALGOAPI_EXPORT std::shared_ptr makeShape() const; + /// \brief Constructor. + /// \param[in] theListOfShape list of shape which should be splitted. + /// \param[in] theIsMakeCompSolids if true gather shapes with shared faces to compsolids. + GEOMALGOAPI_EXPORT GeomAlgoAPI_PaveFiller(const ListOfShape& theListOfShape, + const bool theIsMakeCompSolids = false); private: /// Builds resulting shape. void build(const ListOfShape& theListOfShape, const bool theIsMakeCompSolids); - -private: - /// Fields. - bool myDone; - std::shared_ptr myShape; - std::shared_ptr myMap; - std::shared_ptr myMkShape; }; #endif