]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAlgoAPI/GeomAlgoAPI_WireBuilder.h
Salome HOME
Issue #2559: Add Polyline feature to Build plugin for 3D polyline creation.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_WireBuilder.h
index da80433cee497fb41c0460f6ebc7ac6618397b92..2599083e174ac512ca4335d178038a7be9a5497c 100644 (file)
@@ -37,6 +37,11 @@ class GeomAlgoAPI_WireBuilder
    /// But they are to be all connected geometrically or topologically.
    /// \return wire created from theShapes. Empty in case of error or bad input.
    GEOMALGOAPI_EXPORT static std::shared_ptr<GeomAPI_Shape> wire(const ListOfShape& theShapes);
+
+   /// \brief Checks if the wire is self-intersected.
+   /// \param[in] theWire the wire to be checked
+   /// \return true if the wire is self-intersected, otherwise - false.
+   GEOMALGOAPI_EXPORT static bool isSelfIntersected(const std::shared_ptr<GeomAPI_Shape>& theWire);
 };
 
 #endif