X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Ax1.h;h=f21f0deeb630f4bcecd12ce7bb2ca52f565981b9;hb=73502ac782ffc45a3acf665ded34f582b07ec4d5;hp=dbd9bd5391c1c472f02bb09c294d48bf807f4c0d;hpb=7b575e65da4aaf7e4cbf41ccf7d61b83c5842b7f;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Ax1.h b/src/GeomAPI/GeomAPI_Ax1.h index dbd9bd539..f21f0deeb 100644 --- a/src/GeomAPI/GeomAPI_Ax1.h +++ b/src/GeomAPI/GeomAPI_Ax1.h @@ -14,35 +14,43 @@ /** \ingroup DataModel * \brief The class represents an axis in 3D space. */ -class GEOMAPI_EXPORT GeomAPI_Ax1 : public GeomAPI_Interface +class GeomAPI_Ax1 : public GeomAPI_Interface { public: /// Default constructor. + GEOMAPI_EXPORT GeomAPI_Ax1(); /** \brief Ñonstructor. * \param[in] theOrigin point of origin. * \param[in] theDir direction of axis. */ + GEOMAPI_EXPORT GeomAPI_Ax1(std::shared_ptr theOrigin, std::shared_ptr theDir); /// Sets origin point. + GEOMAPI_EXPORT void setOrigin(const std::shared_ptr& theOrigin); /// \return the plane origin point. + GEOMAPI_EXPORT std::shared_ptr origin() const; /// Sets direction vector. + GEOMAPI_EXPORT void setDir(const std::shared_ptr& theDir); /// \return direction vector. + GEOMAPI_EXPORT std::shared_ptr dir() const; /// Reverses the unit vector of this axis and assigns the result to this axis. + GEOMAPI_EXPORT void reverse(); /// \return reversed unit vector of this axis. + GEOMAPI_EXPORT std::shared_ptr reversed(); };