X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_PointBuilder.h;h=cff50ee0561cdb35becd322c685e9b99f907e5f7;hb=e014b807fc2f417db0092b2faf4d89a8ca50eea4;hp=64e479ce1cfbb300b3e16b840b43eadbaae788ba;hpb=f1cd93fd02a54259f72e3191d037323a496b2bef;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h index 64e479ce1..cff50ee05 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h @@ -21,8 +21,15 @@ class GeomAPI_Pnt; class GEOMALGOAPI_EXPORT GeomAlgoAPI_PointBuilder { public: - /// Creates linear edge by two points + /// Creates a shape by point static std::shared_ptr point(std::shared_ptr thePoint); + + /// Creates a shape by point coordinates + static std::shared_ptr point( + const double theX, const double theY, const double theZ); + + /// Return point by shape vertex + static std::shared_ptr point(std::shared_ptr theVertex); }; #endif