X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Ax1.h;h=3126c13e0f1b9ea564f8f0995c241a9216c8ddeb;hb=dc1f458b1518baeab0479275e47fd60d50bc18b7;hp=f21f0deeb630f4bcecd12ce7bb2ca52f565981b9;hpb=a3508b5b0db5dd5857049f3f046bd628030d9bb9;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Ax1.h b/src/GeomAPI/GeomAPI_Ax1.h index f21f0deeb..3126c13e0 100644 --- a/src/GeomAPI/GeomAPI_Ax1.h +++ b/src/GeomAPI/GeomAPI_Ax1.h @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: GeomAPI_Ax1.h -// Created: 12 May 2015 -// Author: Dmitry Bobylev +// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com +// #ifndef GEOMAPI_AX1_H_ #define GEOMAPI_AX1_H_ @@ -18,39 +32,39 @@ class GeomAPI_Ax1 : public GeomAPI_Interface { public: /// Default constructor. - GEOMAPI_EXPORT + GEOMAPI_EXPORT GeomAPI_Ax1(); - /** \brief Ñonstructor. + /** \brief Constructor. * \param[in] theOrigin point of origin. * \param[in] theDir direction of axis. */ - GEOMAPI_EXPORT + GEOMAPI_EXPORT GeomAPI_Ax1(std::shared_ptr theOrigin, std::shared_ptr theDir); /// Sets origin point. - GEOMAPI_EXPORT + GEOMAPI_EXPORT void setOrigin(const std::shared_ptr& theOrigin); /// \return the plane origin point. - GEOMAPI_EXPORT + GEOMAPI_EXPORT std::shared_ptr origin() const; /// Sets direction vector. - GEOMAPI_EXPORT + GEOMAPI_EXPORT void setDir(const std::shared_ptr& theDir); /// \return direction vector. - GEOMAPI_EXPORT + GEOMAPI_EXPORT std::shared_ptr dir() const; /// Reverses the unit vector of this axis and assigns the result to this axis. - GEOMAPI_EXPORT + GEOMAPI_EXPORT void reverse(); /// \return reversed unit vector of this axis. - GEOMAPI_EXPORT + GEOMAPI_EXPORT std::shared_ptr reversed(); };