-// Copyright (C) 2017-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2017-2022 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
/**\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");
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;