Salome HOME
bos #24513 Dealing with conflicting constraints
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_MacroEllipticArc.h
index 1d6db5ffc1d86f8180afa771833f34c153f663b3..30c50c45c9d7047ef07e9d04af933e5d423d9e42 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -30,14 +30,14 @@ class GeomAPI_Shape;
 
 /**\class SketchPlugin_MacroEllipticArc
  * \ingroup Plugins
- * \brief Feature for creation of the new elliptical arc in Sketch.
+ * \brief Feature for creation of the new elliptic arc in Sketch.
  */
 class SketchPlugin_MacroEllipticArc: public SketchPlugin_SketchEntity,
                                      public GeomAPI_IPresentable,
                                      public ModelAPI_IReentrant
 {
- public:
-  /// Elliptical arc feature kind
+public:
+  /// Elliptic arc feature kind
   inline static const std::string& ID()
   {
     static const std::string ID("SketchMacroEllipticArc");
@@ -158,10 +158,8 @@ class SketchPlugin_MacroEllipticArc: public SketchPlugin_SketchEntity,
 private:
   std::shared_ptr<GeomAPI_Shape> getArcShape();
 
-////  void constraintsForEllipseByCenterAxisAndPassed(FeaturePtr theEllipseFeature);
-////  void constraintsForEllipseByMajoxAxisAndPassed(FeaturePtr theEllipseFeature);
-
   FeaturePtr createEllipticArcFeature();
+  void constraintsForEllipticArc(FeaturePtr theEllipticArc);
 
 private:
   std::shared_ptr<GeomAPI_Pnt2d> myCenter;