-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File: GeomAPI_Ax2.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<mailto:webmaster.salome@opencascade.com>
+//
#ifndef GeomAPI_Ax2_H_
#define GeomAPI_Ax2_H_
{
public:
/// Default constructor.
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
GeomAPI_Ax2();
- /** \brief Ñonstructor.
+ /** \brief Constructor.
* \param[in] theOrigin point of origin.
* \param[in] theN direction of axis.
* \param[in] theVX x direction of axis.
*/
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
GeomAPI_Ax2(std::shared_ptr<GeomAPI_Pnt> theOrigin,
std::shared_ptr<GeomAPI_Dir> theN,
std::shared_ptr<GeomAPI_Dir> theVX);
- /** \brief Ñonstructor.
+ /** \brief Constructor.
* \param[in] theOrigin point of origin.
* \param[in] theDir direction of axis.
*/
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
GeomAPI_Ax2(std::shared_ptr<GeomAPI_Pnt> theOrigin,
std::shared_ptr<GeomAPI_Dir> theDir);
/// Sets origin point.
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
void setOrigin(const std::shared_ptr<GeomAPI_Pnt>& theOrigin);
/// \return the plane origin point.
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Pnt> origin() const;
/// Sets direction vector.
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
void setDir(const std::shared_ptr<GeomAPI_Dir>& theDir);
/// \return direction vector.
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Dir> dir() const;
};
+//! Pointer on the object
+typedef std::shared_ptr<GeomAPI_Ax2> GeomAx2Ptr;
+
#endif