X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Circ2d.h;h=1226a5f78f20cb3553b337d65f25271ac236bb78;hb=3d28bcbab2f3ed0e40295e64f4e836caebc19fca;hp=58a292c162dd49fec0ce435562a1f5be72526d52;hpb=8dc74f82810d5f597b78633b457efb0ef4f89f9f;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Circ2d.h b/src/GeomAPI/GeomAPI_Circ2d.h index 58a292c16..1226a5f78 100644 --- a/src/GeomAPI/GeomAPI_Circ2d.h +++ b/src/GeomAPI/GeomAPI_Circ2d.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAPI_Circ2d.h // Created: 29 May 2014 // Author: Artem ZHIDKOV @@ -6,7 +8,7 @@ #define GeomAPI_Circ2d_H_ #include -#include +#include class GeomAPI_Pnt2d; class GeomAPI_Dir2d; @@ -16,26 +18,31 @@ class GeomAPI_Dir2d; * \brief Circle in 2D */ -class GEOMAPI_EXPORT GeomAPI_Circ2d : public GeomAPI_Interface +class GeomAPI_Circ2d : public GeomAPI_Interface { public: /// Creation of circle defined by center point and circle radius - GeomAPI_Circ2d(const boost::shared_ptr& theCenter, - const boost::shared_ptr& theCirclePoint); + GEOMAPI_EXPORT + GeomAPI_Circ2d(const std::shared_ptr& theCenter, + const std::shared_ptr& theCirclePoint); /// Creation of circle defined by center point, direction and circle radius - GeomAPI_Circ2d(const boost::shared_ptr& theCenter, - const boost::shared_ptr& theDir, double theRadius); + GEOMAPI_EXPORT + GeomAPI_Circ2d(const std::shared_ptr& theCenter, + const std::shared_ptr& theDir, double theRadius); /// Return center of the circle - const boost::shared_ptr center() const; + GEOMAPI_EXPORT + const std::shared_ptr center() const; /// Return radius of the circle + GEOMAPI_EXPORT double radius() const; /// Project point on line - const boost::shared_ptr project( - const boost::shared_ptr& thePoint) const; + GEOMAPI_EXPORT + const std::shared_ptr project( + const std::shared_ptr& thePoint) const; }; #endif