Salome HOME
Task 2.1. Creation of ellipses and arcs of ellipse.
[modules/shaper.git] / src / GeomAPI / GeomAPI_Ellipse.h
index a855e189ba856beca5e5509d19388dc057e90133..d201d127ac22b2204e879b97be66ccab31035b4a 100644 (file)
@@ -35,10 +35,13 @@ public:
   GEOMAPI_EXPORT GeomAPI_Ellipse(const std::shared_ptr<GeomAPI_Ax2>& theAx2,
                                  double theMajorRadius, double theMinorRadius);
 
-  /// Returns first center of the ellipse
+  /// Returns center of the ellipse
+  GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Pnt> center() const;
+
+  /// Returns first focus of the ellipse
   GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Pnt> firstFocus() const;
 
-  /// Returns second center of the ellipse
+  /// Returns second focus of the ellipse
   GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Pnt> secondFocus() const;
 
   /// Returns minor radius of the ellipse