-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 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
fillAttribute(aPoint, thePointAttr);
}
-SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc(const std::shared_ptr<ModelAPI_Feature>& theFeature)
- : SketchAPI_MacroEllipse(theFeature)
+SketchAPI_MacroEllipticArc::SketchAPI_MacroEllipticArc(const FeaturePtr& theFeature)
+ : SketchAPI_MacroEllipse(theFeature, false)
{
}
const std::shared_ptr<GeomAPI_Pnt2d>& theArcEnd,
const ModelHighAPI_RefAttr& theArcEndRef,
const bool theReversed)
- : SketchAPI_MacroEllipse(theFeature)
+ : SketchAPI_MacroEllipse(theFeature, false)
{
if (initialize()) {
fillAttribute(theCenter, theCenterRef,
fillAttribute(theReversed, reversed());
+ storeSketch(theFeature);
execute();
}
}