X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAPI%2FGeomAPI_Curve.h;h=ecb8a79f80196665eb6cd7741b652bdd1184070e;hb=b2fc3132f3010bb1ebc54fff534cda6bb53e89b3;hp=20e0f0a46ee46b6044b3a1a969cb9da165a2d167;hpb=1c0c005d8183e90aa20a076d64a89d5cfd4479f6;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: