X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Curve.h;h=ecb8a79f80196665eb6cd7741b652bdd1184070e;hb=73502ac782ffc45a3acf665ded34f582b07ec4d5;hp=20e0f0a46ee46b6044b3a1a969cb9da165a2d167;hpb=eb0bc337423e37ed5bfbd9cbcb3c6ec183108c3b;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Curve.h b/src/GeomAPI/GeomAPI_Curve.h index 20e0f0a46..ecb8a79f8 100644 --- a/src/GeomAPI/GeomAPI_Curve.h +++ b/src/GeomAPI/GeomAPI_Curve.h @@ -17,32 +17,40 @@ class GeomAPI_Pnt; * \brief Interface to the generic curve object */ -class GEOMAPI_EXPORT GeomAPI_Curve : public GeomAPI_Interface +class GeomAPI_Curve : public GeomAPI_Interface { public: /// Creation of empty (null) shape + GEOMAPI_EXPORT GeomAPI_Curve(); /// Creates a curve from the shape (edge) + GEOMAPI_EXPORT GeomAPI_Curve(const std::shared_ptr& theShape); /// Returns true if curve is not initialized + GEOMAPI_EXPORT bool isNull() const; /// Returns whether the curve is linear + GEOMAPI_EXPORT virtual bool isLine() const; /// Returns whether the curve is circular + GEOMAPI_EXPORT virtual bool isCircle() const; /// Returns start parameter of the curve + GEOMAPI_EXPORT double startParam() const { return myStart; } /// Returns end parameter of the curve + GEOMAPI_EXPORT double endParam() const { return myEnd; } /// Returns point on the curve by parameter /// \param theParam parameter on the curve + GEOMAPI_EXPORT std::shared_ptr getPoint(double theParam); private: