Salome HOME
Define guards are corrected according to the code style
[modules/shaper.git] / src / GeomAPI / GeomAPI_Circ.h
index c1a23bbf65f68d8c6fa694a4a71b76135fc5c6a8..c74e76c014c04fafea01af06333bde7ae8390fef 100644 (file)
@@ -2,8 +2,8 @@
 // Created:     24 Jun 2014
 // Author:      Artem ZHIDKOV
 
-#ifndef GeomAPI_Circ_HeaderFile
-#define GeomAPI_Circ_HeaderFile
+#ifndef GeomAPI_Circ_H_
+#define GeomAPI_Circ_H_
 
 #include <GeomAPI_Interface.h>
 #include <boost/shared_ptr.hpp>
@@ -24,6 +24,12 @@ public:
                const boost::shared_ptr<GeomAPI_Dir>& theDir,
                double theRadius);
 
+  /// Return center of the circle
+  const boost::shared_ptr<GeomAPI_Pnt> center() const;
+
+  /// Return radius of the circle
+  double radius() const;
+
   /// Project point on circle
   const boost::shared_ptr<GeomAPI_Pnt> project(const boost::shared_ptr<GeomAPI_Pnt>& thePoint) const;
 };