Salome HOME
8b91d8332f3adeb2614646ac9dae3351e4b7dcff
[modules/shaper.git] / src / GeomAPI / GeomAPI_Circ2d.h
1 // File:        GeomAPI_Circ2d.h
2 // Created:     29 May 2014
3 // Author:      Artem ZHIDKOV
4
5 #ifndef GeomAPI_Circ2d_HeaderFile
6 #define GeomAPI_Circ2d_HeaderFile
7
8 #include <GeomAPI_Interface.h>
9 #include <boost/shared_ptr.hpp>
10
11 class GeomAPI_Pnt2d;
12
13 /**\class GeomAPI_Circ2d
14  * \ingroup DataModel
15  * \brief Line in 2D
16  */
17
18 class GEOMAPI_EXPORT GeomAPI_Circ2d: public GeomAPI_Interface
19 {
20 public:
21   /// Creation of circle defined by center point and circle radius
22   GeomAPI_Circ2d(const boost::shared_ptr<GeomAPI_Pnt2d>& theCenter,
23                  const boost::shared_ptr<GeomAPI_Pnt2d>& theCirclePoint);
24
25   /// Project point on line
26   const boost::shared_ptr<GeomAPI_Pnt2d> project(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint) const;
27 };
28
29 #endif
30