X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_Ax2.h;h=88395062d1df58007b603e5d9288c79c7ce91375;hb=95ff1008bc8215fdeafd7d253dc5a6f33e949363;hp=e190f78b28b3ab65009e672778457fa15a4e39a8;hpb=f98f887290d4e2b4bd6618389911e82b6b9674f3;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_Ax2.h b/src/GeomAPI/GeomAPI_Ax2.h index e190f78b2..88395062d 100644 --- a/src/GeomAPI/GeomAPI_Ax2.h +++ b/src/GeomAPI/GeomAPI_Ax2.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: GeomAPI_Ax2.h -// Created: 12 May 2015 -// Author: Dmitry Bobylev +// Copyright (C) 2014-2021 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_Ax2_H_ #define GeomAPI_Ax2_H_ @@ -18,7 +31,7 @@ class GeomAPI_Ax2 : public GeomAPI_Interface { public: /// Default constructor. - GEOMAPI_EXPORT + GEOMAPI_EXPORT GeomAPI_Ax2(); /** \brief Constructor. @@ -26,7 +39,7 @@ public: * \param[in] theN direction of axis. * \param[in] theVX x direction of axis. */ - GEOMAPI_EXPORT + GEOMAPI_EXPORT GeomAPI_Ax2(std::shared_ptr theOrigin, std::shared_ptr theN, std::shared_ptr theVX); @@ -35,25 +48,28 @@ public: * \param[in] theOrigin point of origin. * \param[in] theDir direction of axis. */ - GEOMAPI_EXPORT + GEOMAPI_EXPORT GeomAPI_Ax2(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; }; +//! Pointer on the object +typedef std::shared_ptr GeomAx2Ptr; + #endif