]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchAPI/SketchAPI_Sketch.cpp
Salome HOME
Task 2.12. New entities: ellipses and arcs of ellipses (issue #3003)
[modules/shaper.git] / src / SketchAPI / SketchAPI_Sketch.cpp
index cfcf93b7b7c3554a4e557ecb2b35d1b28244349c..0504e411d9daccf4e2251f6d8ce4e63faaf879a8 100644 (file)
@@ -662,19 +662,6 @@ std::shared_ptr<SketchAPI_EllipticArc> SketchAPI_Sketch::addEllipticArc(
       theInversed));
 }
 
-std::shared_ptr<SketchAPI_EllipticArc> SketchAPI_Sketch::addEllipticArc(
-    const std::shared_ptr<GeomAPI_Pnt2d>& theCenter,
-    const std::shared_ptr<GeomAPI_Pnt2d>& theFocus,
-    const std::shared_ptr<GeomAPI_Pnt2d>& theStart,
-    const std::shared_ptr<GeomAPI_Pnt2d>& theEnd,
-    bool theInversed)
-{
-  std::shared_ptr<ModelAPI_Feature> aFeature =
-      compositeFeature()->addFeature(SketchPlugin_EllipticArc::ID());
-  return EllipticArcPtr(new SketchAPI_EllipticArc(aFeature,
-      theCenter, theFocus, theStart, theEnd, theInversed));
-}
-
 std::shared_ptr<SketchAPI_MacroEllipticArc> SketchAPI_Sketch::addEllipticArc(
     const std::pair<std::shared_ptr<GeomAPI_Pnt2d>, ModelHighAPI_RefAttr>& theCenter,
     const std::pair<std::shared_ptr<GeomAPI_Pnt2d>, ModelHighAPI_RefAttr>& theMajorAxisPoint,