]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.h
Salome HOME
Issue #2024: Redesign of circle and arc of circle
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_ShapeTools.h
index d3b712585176a24a8e7316e42611d48153ebf8ba..e6df0520b50345f4cf85c1137641a4ec966f9044 100644 (file)
@@ -108,6 +108,14 @@ public:
     const std::shared_ptr<GeomAPI_Shape> theSubShape,
     const std::shared_ptr<GeomAPI_Shape> theBaseShape);
 
+  /// \brief Checks that shapes intersects.
+  /// \param[in] theShape1 first shape.
+  /// \param[in] theShape2 second shape.
+  /// \return true if shapes intersects.
+  GEOMALGOAPI_EXPORT static bool GeomAlgoAPI_ShapeTools::isShapesIntersects(
+    const std::shared_ptr<GeomAPI_Shape> theShape1,
+    const std::shared_ptr<GeomAPI_Shape> theShape2);
+
   /// \return true if theShape is valid.
   GEOMALGOAPI_EXPORT static bool isShapeValid(const std::shared_ptr<GeomAPI_Shape> theShape);