X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_PointBuilder.h;h=cff50ee0561cdb35becd322c685e9b99f907e5f7;hb=e014b807fc2f417db0092b2faf4d89a8ca50eea4;hp=7e24a360a5febebb786281232670e4246ea8dbc8;hpb=96ff1d1fb2acb842cee193f15492de81060a1d58;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h index 7e24a360a..cff50ee05 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAlgoAPI_PointBuilder.h // Created: 02 Jun 2014 // Author: Mikhail PONIKAROV @@ -6,7 +8,7 @@ #define GeomAlgoAPI_PointBuilder_H_ #include -#include +#include class GeomAPI_Shape; class GeomAPI_Pnt; @@ -18,10 +20,16 @@ class GeomAPI_Pnt; class GEOMALGOAPI_EXPORT GeomAlgoAPI_PointBuilder { -public: - /// Creates linear edge by two points - static boost::shared_ptr point( - boost::shared_ptr thePoint); + public: + /// 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