X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Vertex.h;h=205f07eb5da75d939d389bf84c329b631ca76e2c;hb=fc72d43b677baa05ae7fd317346fd8b723b799ed;hp=5c564f842fb7f5ffefa6f49184571d6d93e21072;hpb=77d6e03555d0d46232e09ace4178f66f8c9b40ee;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Vertex.h b/src/GeomAPI/GeomAPI_Vertex.h index 5c564f842..205f07eb5 100644 --- a/src/GeomAPI/GeomAPI_Vertex.h +++ b/src/GeomAPI/GeomAPI_Vertex.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA/DEN, EDF R&D // // 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& theShape); + /// Creation of vertex by the given point. + GEOMAPI_EXPORT + GeomAPI_Vertex(const std::shared_ptr& thePoint); + /// Creation of vertex by 3d coordinates. GEOMAPI_EXPORT GeomAPI_Vertex(double theX, double theY, double theZ);