20 #ifndef GeomAPI_Ax2_H_
21 #define GeomAPI_Ax2_H_
24 #include <GeomAPI_Pnt.h>
25 #include <GeomAPI_Dir.h>
44 std::shared_ptr<GeomAPI_Dir> theN,
45 std::shared_ptr<GeomAPI_Dir> theVX);
53 std::shared_ptr<GeomAPI_Dir> theDir);
57 void setOrigin(
const std::shared_ptr<GeomAPI_Pnt>& theOrigin);
61 std::shared_ptr<GeomAPI_Pnt>
origin()
const;
65 void setDir(
const std::shared_ptr<GeomAPI_Dir>& theDir);
69 std::shared_ptr<GeomAPI_Dir>
dir()
const;
73 typedef std::shared_ptr<GeomAPI_Ax2> GeomAx2Ptr;
The class represents an axis in 3D space.
Definition: GeomAPI_Ax2.h:31
GEOMAPI_EXPORT GeomAPI_Ax2()
Default constructor.
Definition: GeomAPI_Ax2.cpp:27
GEOMAPI_EXPORT void setDir(const std::shared_ptr< GeomAPI_Dir > &theDir)
Sets direction vector.
Definition: GeomAPI_Ax2.cpp:64
GEOMAPI_EXPORT void setOrigin(const std::shared_ptr< GeomAPI_Pnt > &theOrigin)
Sets origin point.
Definition: GeomAPI_Ax2.cpp:51
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Dir > dir() const
Definition: GeomAPI_Ax2.cpp:70
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Pnt > origin() const
Definition: GeomAPI_Ax2.cpp:57
General base class for all interfaces in this package.
Definition: GeomAPI_Interface.h:38