X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Ax1.h;h=f21f0deeb630f4bcecd12ce7bb2ca52f565981b9;hb=3d28bcbab2f3ed0e40295e64f4e836caebc19fca;hp=d65d8e83d422b5dfca89f2fedec88e5f595e31e6;hpb=64e9d01b48f8c4e6e22919ebceeed715d613485e;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Ax1.h b/src/GeomAPI/GeomAPI_Ax1.h index d65d8e83d..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. - */ + * \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(); };