Salome HOME
updated copyright message
[modules/shaper.git] / src / GeomAPI / GeomAPI_Circ2d.h
index 0777ad3540e384c5411c1074f341a8b42d08c91a..6928358c7cb745f14d3ae29d25841b0ba5e830d2 100644 (file)
@@ -1,8 +1,21 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File:        GeomAPI_Circ2d.h
-// Created:     29 May 2014
-// Author:      Artem ZHIDKOV
+// 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
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #ifndef GeomAPI_Circ2d_H_
 #define GeomAPI_Circ2d_H_
@@ -22,7 +35,11 @@ class GeomAPI_Shape;
 
 class GeomAPI_Circ2d : public GeomAPI_Interface
 {
- public:
+public:
+  /// Creation of circle defined by center point and circle radius
+  GEOMAPI_EXPORT
+  GeomAPI_Circ2d(const double theCenterX, const double theCenterY, const double theRadius);
+
   /// Creation of circle defined by center point and circle radius
   GEOMAPI_EXPORT
   GeomAPI_Circ2d(const std::shared_ptr<GeomAPI_Pnt2d>& theCenter,
@@ -33,26 +50,6 @@ class GeomAPI_Circ2d : public GeomAPI_Interface
   GeomAPI_Circ2d(const std::shared_ptr<GeomAPI_Pnt2d>& theCenter,
                  const std::shared_ptr<GeomAPI_Dir2d>& theDir, double theRadius);
 
-  /// Creation of circle defined by three points lying on it
-  GEOMAPI_EXPORT
-  GeomAPI_Circ2d(const std::shared_ptr<GeomAPI_Pnt2d>& theFirstPoint,
-                 const std::shared_ptr<GeomAPI_Pnt2d>& theSecondPoint,
-                 const std::shared_ptr<GeomAPI_Pnt2d>& theThirdPoint);
-
-  /// Creation of a circle defined by center and a tangent curve on the given plane
-  GEOMAPI_EXPORT
-  GeomAPI_Circ2d(const std::shared_ptr<GeomAPI_Pnt2d>& theCenter,
-                 const std::shared_ptr<GeomAPI_Shape>& theTangent,
-                 const std::shared_ptr<GeomAPI_Ax3>&   thePlane);
-
-  /// Creation of a circle passing through or tangent to given entities.
-  /// Supported items are GeomAPI_Pnt2d or GeomAPI_Shape
-  GEOMAPI_EXPORT
-  GeomAPI_Circ2d(const std::shared_ptr<GeomAPI_Interface>& theEntity1,
-                 const std::shared_ptr<GeomAPI_Interface>& theEntity2,
-                 const std::shared_ptr<GeomAPI_Interface>& theEntity3,
-                 const std::shared_ptr<GeomAPI_Ax3>&       thePlane);
-
   /// Return center of the circle
   GEOMAPI_EXPORT
   const std::shared_ptr<GeomAPI_Pnt2d> center() const;