Salome HOME
Fix for the issue #1100
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Boolean.h
index 1c3655d9b0fdcbbc13c4854d88064109da3079b9..5c2059b88f1cf20867e1980b056152be198347dd 100644 (file)
 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<GeomAPI_Shape> 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<GeomAPI_Shape> 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<GeomAPI_Shape> makeCommon(const ListOfShape& theObjects,
-                                                                      const ListOfShape& theTools);
 
   /// Constructor.
   GEOMALGOAPI_EXPORT GeomAlgoAPI_Boolean(const ListOfShape& theObjects,