Salome HOME
Support of the newer version of OCCT 7.2.0 with patches
[modules/shaper.git] / src / GeomAPI / GeomAPI_Wire.h
index 1955512c7e7e0d93b00575b63450103ff45a2e63..888e9b19c4165e2853fa7a1291118ebf62e3b5a1 100644 (file)
@@ -14,7 +14,8 @@
 // License along with this library; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 //
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
 //
 
 #ifndef GeomAPI_Wire_H_
@@ -30,7 +31,11 @@ class GeomAPI_Wire: public GeomAPI_Shape
 public:
   /// Makes an undefined Wire.
   GEOMAPI_EXPORT GeomAPI_Wire();
+
+  /// Creation of wire by the wire-shape
+  GEOMAPI_EXPORT GeomAPI_Wire(const std::shared_ptr<GeomAPI_Shape>& theShape);
 };
 
-#endif
+typedef std::shared_ptr<GeomAPI_Wire> GeomWirePtr;
 
+#endif