- public:
- /**\brief Creates cut boolean operation
- * \param[in] theShape the main shape
- * \param[in] theTool toole shape for boolean
- * \return a solid as result of operation
- */
- GEOMALGOAPI_EXPORT static std::shared_ptr<GeomAPI_Shape> makeCut(
- std::shared_ptr<GeomAPI_Shape> theShape,
- std::shared_ptr<GeomAPI_Shape> theTool);
-
- /**\brief Creates fuse boolean operation
- * \param[in] theShape the main shape
- * \param[in] theTool second shape
- * \return a solid as result of operation
- */
- GEOMALGOAPI_EXPORT static std::shared_ptr<GeomAPI_Shape> makeFuse(
- std::shared_ptr<GeomAPI_Shape> theShape,
- std::shared_ptr<GeomAPI_Shape> theTool);
-
- /**\brief Creates common boolean operation
- * \param[in] theObject the main shape
- * \param[in] theTool second shape
- * \return a solid as result of operation
- */
- GEOMALGOAPI_EXPORT static std::shared_ptr<GeomAPI_Shape> makeCommon(
- std::shared_ptr<GeomAPI_Shape> theObject,
- std::shared_ptr<GeomAPI_Shape> theTool);
-
- enum {
- BOOL_CUT,
- BOOL_FUSE,
- BOOL_COMMON
+public:
+ /// Type of booelan operation
+ enum OperationType {
+ BOOL_CUT, ///< Cut objects
+ BOOL_FUSE, ///< Fuse objects
+ BOOL_COMMON ///< Take common part of objects