X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Circ.h;h=2532ef2edd3bc7c95f5cd99a72821757fec285b1;hb=61cd0845b41710ad4e7eae07cc6106904be67b9f;hp=c1a23bbf65f68d8c6fa694a4a71b76135fc5c6a8;hpb=fe28efc3b8215891d15aea3ba9b35a5eb0686dde;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Circ.h b/src/GeomAPI/GeomAPI_Circ.h index c1a23bbf6..2532ef2ed 100644 --- a/src/GeomAPI/GeomAPI_Circ.h +++ b/src/GeomAPI/GeomAPI_Circ.h @@ -1,12 +1,14 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: GeomAPI_Circ.h // Created: 24 Jun 2014 // Author: Artem ZHIDKOV -#ifndef GeomAPI_Circ_HeaderFile -#define GeomAPI_Circ_HeaderFile +#ifndef GeomAPI_Circ_H_ +#define GeomAPI_Circ_H_ #include -#include +#include class GeomAPI_Pnt; class GeomAPI_Dir; @@ -16,16 +18,22 @@ class GeomAPI_Dir; * \brief Circle in 3D */ -class GEOMAPI_EXPORT GeomAPI_Circ: public GeomAPI_Interface +class GEOMAPI_EXPORT GeomAPI_Circ : public GeomAPI_Interface { -public: + public: /// Creation of circle defined by center point, direction and circle radius - GeomAPI_Circ(const boost::shared_ptr& theCenter, - const boost::shared_ptr& theDir, - double theRadius); + GeomAPI_Circ(const std::shared_ptr& theCenter, + const std::shared_ptr& theDir, double theRadius); + + /// Return center of the circle + const std::shared_ptr center() const; + + /// Return radius of the circle + double radius() const; /// Project point on circle - const boost::shared_ptr project(const boost::shared_ptr& thePoint) const; + const std::shared_ptr project( + const std::shared_ptr& thePoint) const; }; #endif