X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Boolean.h;h=5c2059b88f1cf20867e1980b056152be198347dd;hb=8a57ef42e3538be4b96f796b8ee057c3f39e3053;hp=1c3655d9b0fdcbbc13c4854d88064109da3079b9;hpb=76d899e9697205290580e6b6ceecbb4c340bf7a5;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Boolean.h b/src/GeomAlgoAPI/GeomAlgoAPI_Boolean.h index 1c3655d9b..5c2059b88 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Boolean.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Boolean.h @@ -23,36 +23,14 @@ class GeomAlgoAPI_Boolean : public GeomAPI_Interface { public: + /// Type of booelan operation enum OperationType{ - BOOL_CUT, - BOOL_FUSE, - BOOL_COMMON + BOOL_CUT, ///< Cut objects + BOOL_FUSE, ///< Fuse objects + BOOL_COMMON ///< Take common part of objects }; public: - /** \brief Creates cut boolean operation. - * \param[in] theObjects the main shape. - * \param[in] theTools toole shape for boolean. - * \return a solid or compound of solids as result of operation. - */ - GEOMALGOAPI_EXPORT static std::shared_ptr makeCut(const ListOfShape& theObjects, - const ListOfShape& theTools); - - /** \brief Creates fuse boolean operation. - * \param[in] theObjects the main shape. - * \param[in] theTools second shape. - * \return a solid as result of operation. - */ - GEOMALGOAPI_EXPORT static std::shared_ptr makeFuse(const ListOfShape& theObjects, - const ListOfShape& theTools); - - /** \brief Creates common boolean operation. - * \param[in] theObjects the main shape. - * \param[in] theTools second shape. - * \return a solid as result of operation. - */ - GEOMALGOAPI_EXPORT static std::shared_ptr makeCommon(const ListOfShape& theObjects, - const ListOfShape& theTools); /// Constructor. GEOMALGOAPI_EXPORT GeomAlgoAPI_Boolean(const ListOfShape& theObjects,