X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Ax3.h;h=47cbb2a4a2128414187b9d52fc101e30ca9d8430;hb=bdbfb368d71ed11cc0391354a7d86c880cd94949;hp=67bde43efd50a2b1e331ffe33202901c295e5df9;hpb=d11d4ba5e291b60c458d15e11081515990cc27fe;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Ax3.h b/src/GeomAPI/GeomAPI_Ax3.h index 67bde43ef..47cbb2a4a 100644 --- a/src/GeomAPI/GeomAPI_Ax3.h +++ b/src/GeomAPI/GeomAPI_Ax3.h @@ -16,55 +16,65 @@ * \brief The class represents a coordinate plane which is 2d plane with X and Y directions * and origin */ -class GEOMAPI_EXPORT GeomAPI_Ax3 : public GeomAPI_Interface +class GeomAPI_Ax3 : public GeomAPI_Interface { public: /// Default constructor + GEOMAPI_EXPORT GeomAPI_Ax3(); - /// Ñonstructor + /// Constructor /// \param theOrigin point of origin /// \param theDirX direction of X axis - /// \param theDirY direction of Y axis /// \param theNorm direction of normal vector + GEOMAPI_EXPORT GeomAPI_Ax3(std::shared_ptr theOrigin, std::shared_ptr theDirX, - std::shared_ptr theDirY, std::shared_ptr theNorm); /// Sets origin point + GEOMAPI_EXPORT void setOrigin(const std::shared_ptr& theOrigin); /// Returns the plane origin point + GEOMAPI_EXPORT std::shared_ptr origin() const; /// Sets X direction vector + GEOMAPI_EXPORT void setDirX(const std::shared_ptr& theDirX); /// Returns X direction vector + GEOMAPI_EXPORT std::shared_ptr dirX() const; /// Sets Y direction vector + GEOMAPI_EXPORT void setDirY(const std::shared_ptr& theDirY); /// Returns Y direction vector + GEOMAPI_EXPORT std::shared_ptr dirY() const; /// Sets Z direction vector - void setNorm(const std::shared_ptr& theNorm); + GEOMAPI_EXPORT + void setNormal(const std::shared_ptr& theNorm); /// Returns Z direction vector - std::shared_ptr norm() const; + GEOMAPI_EXPORT + std::shared_ptr normal() const; /// Converts 2d coordinates from the plane to 3d space point /// \param theX X coordinate /// \param theY Y coordinate + GEOMAPI_EXPORT std::shared_ptr to3D(double theX, double theY) const; /// Converts 3d to 2d coordinates of the plane /// \param theX X coordinate /// \param theY Y coordinate /// \param theZ Z coordinate + GEOMAPI_EXPORT std::shared_ptr to2D(double theX, double theY, double theZ) const; };