X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAPI%2FGeomAPI_Vertex.h;h=c1ec7109c3d669158ffad59dd374360ddc6f1d32;hb=73502ac782ffc45a3acf665ded34f582b07ec4d5;hp=9baf0dcdc08bf4a8572ff5b2168478b9d005161e;hpb=a3508b5b0db5dd5857049f3f046bd628030d9bb9;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Vertex.h b/src/GeomAPI/GeomAPI_Vertex.h index 9baf0dcdc..c1ec7109c 100644 --- a/src/GeomAPI/GeomAPI_Vertex.h +++ b/src/GeomAPI/GeomAPI_Vertex.h @@ -23,10 +23,14 @@ public: GEOMAPI_EXPORT GeomAPI_Vertex(); - /// Creation of edge by the edge-shape + /// Creation of vertex by the vertex-shape GEOMAPI_EXPORT GeomAPI_Vertex(const std::shared_ptr& theShape); + /// Creation of vertex by 3d coordinates + GEOMAPI_EXPORT + GeomAPI_Vertex(double theX, double theY, double theZ); + /// Returns the first vertex coordinates of the edge GEOMAPI_EXPORT std::shared_ptr point();