Salome HOME
updated copyright message
[modules/shaper.git] / src / GeomAPI / GeomAPI_Vertex.h
index 5c564f842fb7f5ffefa6f49184571d6d93e21072..ad8b9f5036b6bd80ff993f737653d5a1826de39e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -38,6 +38,10 @@ public:
   GEOMAPI_EXPORT
   GeomAPI_Vertex(const std::shared_ptr<GeomAPI_Shape>& theShape);
 
+  /// Creation of vertex by the given point.
+  GEOMAPI_EXPORT
+  GeomAPI_Vertex(const std::shared_ptr<GeomAPI_Pnt>& thePoint);
+
    /// Creation of vertex by 3d coordinates.
   GEOMAPI_EXPORT
   GeomAPI_Vertex(double theX, double theY, double theZ);