1 // File: GeomAPI_Circ.h
2 // Created: 24 Jun 2014
3 // Author: Artem ZHIDKOV
5 #ifndef GeomAPI_Circ_H_
6 #define GeomAPI_Circ_H_
8 #include <GeomAPI_Interface.h>
9 #include <boost/shared_ptr.hpp>
14 /**\class GeomAPI_Circ
19 class GEOMAPI_EXPORT GeomAPI_Circ : public GeomAPI_Interface
22 /// Creation of circle defined by center point, direction and circle radius
23 GeomAPI_Circ(const boost::shared_ptr<GeomAPI_Pnt>& theCenter,
24 const boost::shared_ptr<GeomAPI_Dir>& theDir, double theRadius);
26 /// Return center of the circle
27 const boost::shared_ptr<GeomAPI_Pnt> center() const;
29 /// Return radius of the circle
30 double radius() const;
32 /// Project point on circle
33 const boost::shared_ptr<GeomAPI_Pnt> project(
34 const boost::shared_ptr<GeomAPI_Pnt>& thePoint) const;