Salome HOME
Revert "bos#35152 [EDF] (2023-T1) Sketch Circle should allow user to position constru...
[modules/shaper.git] / src / SketchAPI / SketchAPI_Sketch.h
index 7f2fa98ea31fef627833078d25504f9835eee8c9..993e6ef901536e95e39316e17c17c648863da9bd 100644 (file)
@@ -187,96 +187,45 @@ public:
       const std::pair<std::shared_ptr<GeomAPI_Pnt2d>, ModelHighAPI_RefAttr> & theCenter,
       const std::pair<std::shared_ptr<GeomAPI_Pnt2d>, ModelHighAPI_RefAttr> & theCorner);
 
-  /// Add circle.
-  /// [DEPRECATED]: use addCircleWithPoint() instead.
+  /// Add circle
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_Circle> addCircle(
       double theCenterX, double theCenterY,
       double theRadius);
-  /// Add circle.
-  /// [DEPRECATED]: use addCircleWithPoint() instead.
+  /// Add circle
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_Circle> addCircle(
       const std::shared_ptr<GeomAPI_Pnt2d>& theCenter,
       double theRadius);
-  /// Add circle.
-  /// [DEPRECATED]: use addCircleWithPoint() instead.
+  /// Add circle
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_MacroCircle> addCircle(
       double theCenterX, double theCenterY,
       double thePassedX, double thePassedY);
-  /// Add circle.
-  /// [DEPRECATED]: use addCircleWithPoint() instead.
+  /// Add circle
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_MacroCircle> addCircle(
       const std::shared_ptr<GeomAPI_Pnt2d>& theCenterPoint,
       const std::shared_ptr<GeomAPI_Pnt2d>& thePassedPoint);
-  /// Add circle.
-  /// [DEPRECATED]: use addCircleWithPoint() instead.
+  /// Add circle
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_MacroCircle> addCircle(
       double theX1, double theY1,
       double theX2, double theY2,
       double theX3, double theY3);
-  /// Add circle.
-  /// [DEPRECATED]: use addCircleWithPoint() instead.
+  /// Add circle
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_MacroCircle> addCircle(
       const std::shared_ptr<GeomAPI_Pnt2d>& thePoint1,
       const std::shared_ptr<GeomAPI_Pnt2d>& thePoint2,
       const std::shared_ptr<GeomAPI_Pnt2d>& thePoint3);
-  /// Add circle.
-  /// [DEPRECATED]: use addCircleWithPoint() instead.
+  /// Add circle
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_Circle> addCircle(const ModelHighAPI_Selection & theExternal);
-  /// Add circle.
-  /// [DEPRECATED]: use addCircleWithPoint() instead.
+  /// Add circle
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_Circle> addCircle(const std::wstring & theExternalName);
 
-  /// Add circle with point
-  SKETCHAPI_EXPORT
-    std::shared_ptr<SketchAPI_Circle> addCircleWithPoint(
-      double theCenterX, double theCenterY,
-      double theRadius, double theAngle);
-  /// Add circle with point
-  SKETCHAPI_EXPORT
-    std::shared_ptr<SketchAPI_Circle> addCircleWithPoint(
-      const std::shared_ptr<GeomAPI_Pnt2d>& theCenter,
-      double theRadius, double theAngle);
-  /// Add circle with point
-  SKETCHAPI_EXPORT
-    std::shared_ptr<SketchAPI_MacroCircle> addCircleWithPoint(
-      double theCenterX, double theCenterY,
-      double thePassedX, double thePassedY,
-      double theAngle);
-  /// Add circle with point
-  SKETCHAPI_EXPORT
-    std::shared_ptr<SketchAPI_MacroCircle> addCircleWithPoint(
-      const std::shared_ptr<GeomAPI_Pnt2d>& theCenterPoint,
-      const std::shared_ptr<GeomAPI_Pnt2d>& thePassedPoint,
-      double theAngle);
-  /// Add circle with point
-  SKETCHAPI_EXPORT
-    std::shared_ptr<SketchAPI_MacroCircle> addCircleWithPoint(
-      double theX1, double theY1,
-      double theX2, double theY2,
-      double theX3, double theY3,
-      double theAngle);
-  /// Add circle with point
-  SKETCHAPI_EXPORT
-    std::shared_ptr<SketchAPI_MacroCircle> addCircleWithPoint(
-      const std::shared_ptr<GeomAPI_Pnt2d>& thePoint1,
-      const std::shared_ptr<GeomAPI_Pnt2d>& thePoint2,
-      const std::shared_ptr<GeomAPI_Pnt2d>& thePoint3,
-      double theAngle);
-  /// Add circle with point
-  SKETCHAPI_EXPORT
-    std::shared_ptr<SketchAPI_Circle> addCircleWithPoint(const ModelHighAPI_Selection& theExternal);
-  /// Add circle with point
-  SKETCHAPI_EXPORT
-    std::shared_ptr<SketchAPI_Circle> addCircleWithPoint(const std::wstring& theExternalName);
-
   /// Add arc
   SKETCHAPI_EXPORT
   std::shared_ptr<SketchAPI_Arc> addArc(