20 #ifndef GEOMAPI_AX1_H_
21 #define GEOMAPI_AX1_H_
24 #include <GeomAPI_Pnt.h>
25 #include <GeomAPI_Dir.h>
43 std::shared_ptr<GeomAPI_Dir> theDir);
47 void setOrigin(
const std::shared_ptr<GeomAPI_Pnt>& theOrigin);
51 std::shared_ptr<GeomAPI_Pnt>
origin()
const;
55 void setDir(
const std::shared_ptr<GeomAPI_Dir>& theDir);
59 std::shared_ptr<GeomAPI_Dir>
dir()
const;
67 std::shared_ptr<GeomAPI_Ax1>
reversed();
The class represents an axis in 3D space.
Definition: GeomAPI_Ax1.h:31
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Dir > dir() const
Definition: GeomAPI_Ax1.cpp:60
GEOMAPI_EXPORT void setDir(const std::shared_ptr< GeomAPI_Dir > &theDir)
Sets direction vector.
Definition: GeomAPI_Ax1.cpp:54
GEOMAPI_EXPORT void setOrigin(const std::shared_ptr< GeomAPI_Pnt > &theOrigin)
Sets origin point.
Definition: GeomAPI_Ax1.cpp:41
GEOMAPI_EXPORT GeomAPI_Ax1()
Default constructor.
Definition: GeomAPI_Ax1.cpp:27
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Pnt > origin() const
Definition: GeomAPI_Ax1.cpp:47
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Ax1 > reversed()
Definition: GeomAPI_Ax1.cpp:73
GEOMAPI_EXPORT void reverse()
Reverses the unit vector of this axis and assigns the result to this axis.
Definition: GeomAPI_Ax1.cpp:67
General base class for all interfaces in this package.
Definition: GeomAPI_Interface.h:38