Salome HOME
Issue #2208: positioning of tangent and perpendicular symbols
[modules/shaper.git] / src / GeomAPI / GeomAPI_Circ.h
index 6f4215965ca75da375b1548f217c13fbbe9d7a4d..4fe0c82407f4a8d2e4dcd52e005dff5551a1238f 100644 (file)
@@ -22,6 +22,7 @@
 #define GeomAPI_Circ_H_
 
 #include <GeomAPI_Interface.h>
+#include <GeomAPI_Curve.h>
 #include <memory>
 
 class GeomAPI_Ax2;
@@ -51,6 +52,9 @@ class GeomAPI_Circ : public GeomAPI_Interface
   GEOMAPI_EXPORT GeomAPI_Circ(const std::shared_ptr<GeomAPI_Pnt>& theCenter,
                const std::shared_ptr<GeomAPI_Dir>& theDir, double theRadius);
 
+  /// Creation of circle defined by a curve
+  GEOMAPI_EXPORT GeomAPI_Circ(const GeomCurvePtr& theCurve);
+
   /// Return center of the circle
   GEOMAPI_EXPORT const std::shared_ptr<GeomAPI_Pnt> center() const;