- 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 boost::shared_ptr<GeomAPI_Shape> makeCut(
- boost::shared_ptr<GeomAPI_Shape> theShape,
- boost::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 boost::shared_ptr<GeomAPI_Shape> makeFuse(
- boost::shared_ptr<GeomAPI_Shape> theShape,
- boost::shared_ptr<GeomAPI_Shape> theTool);
-
- /* \brief Creates common boolean operation
- * \param[in] theObject the main shape
- * \param[in] theTool second shape
- * \param[in] theType type of the operation: Fuse, Cut, Common
- * \return a solid as result of operation
- */
- GEOMALGOAPI_EXPORT static boost::shared_ptr<GeomAPI_Shape> makeCommon(
- boost::shared_ptr<GeomAPI_Shape> theObject,
- boost::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