X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_PointBuilder.h;h=893c70c977fa77c999d15b11215584169ccf3f72;hb=b1eedc1c758fe498ba735720e355210dbb811ffe;hp=2715062bbed60759b0ef54597374bc2fb7d797e3;hpb=ae347a8a8014a15245199a3bb603413628e3f7d4;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h index 2715062bb..893c70c97 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h @@ -1,12 +1,14 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAlgoAPI_PointBuilder.h // Created: 02 Jun 2014 // Author: Mikhail PONIKAROV -#ifndef GeomAlgoAPI_PointBuilder_HeaderFile -#define GeomAlgoAPI_PointBuilder_HeaderFile +#ifndef GeomAlgoAPI_PointBuilder_H_ +#define GeomAlgoAPI_PointBuilder_H_ #include -#include +#include class GeomAPI_Shape; class GeomAPI_Pnt; @@ -18,10 +20,12 @@ 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); + + /// Return point by shape vertex + static std::shared_ptr point(std::shared_ptr theVertex); }; #endif