X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Circ.h;fp=src%2FGeomAPI%2FGeomAPI_Circ.h;h=4fe0c82407f4a8d2e4dcd52e005dff5551a1238f;hb=f34ed4488b454d0f9d2cb4281eafdea7daf0f91c;hp=6f4215965ca75da375b1548f217c13fbbe9d7a4d;hpb=945cb97ca33c0a3644f0ded750cc11db05195a57;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Circ.h b/src/GeomAPI/GeomAPI_Circ.h index 6f4215965..4fe0c8240 100644 --- a/src/GeomAPI/GeomAPI_Circ.h +++ b/src/GeomAPI/GeomAPI_Circ.h @@ -22,6 +22,7 @@ #define GeomAPI_Circ_H_ #include +#include #include class GeomAPI_Ax2; @@ -51,6 +52,9 @@ class GeomAPI_Circ : public GeomAPI_Interface GEOMAPI_EXPORT GeomAPI_Circ(const std::shared_ptr& theCenter, const std::shared_ptr& 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 center() const;