SHAPER
9.12.0
|
The class represents an axis in 3D space. More...
Public Member Functions | |
GEOMAPI_EXPORT | GeomAPI_Ax2 () |
Default constructor. More... | |
GEOMAPI_EXPORT | GeomAPI_Ax2 (std::shared_ptr< GeomAPI_Pnt > theOrigin, std::shared_ptr< GeomAPI_Dir > theN, std::shared_ptr< GeomAPI_Dir > theVX) |
Constructor. More... | |
GEOMAPI_EXPORT | GeomAPI_Ax2 (std::shared_ptr< GeomAPI_Pnt > theOrigin, std::shared_ptr< GeomAPI_Dir > theDir) |
Constructor. More... | |
GEOMAPI_EXPORT void | setOrigin (const std::shared_ptr< GeomAPI_Pnt > &theOrigin) |
Sets origin point. More... | |
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Pnt > | origin () const |
GEOMAPI_EXPORT void | setDir (const std::shared_ptr< GeomAPI_Dir > &theDir) |
Sets direction vector. More... | |
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Dir > | dir () const |
template<class T > | |
T * | implPtr () |
Returns the pointer to the impl. More... | |
template<class T > | |
const T * | implPtr () const |
Returns the pointer to the impl. More... | |
template<class T > | |
const T & | impl () const |
Returns the reference object of the impl. More... | |
template<class T > | |
void | setImpl (T *theImpl) |
Updates the impl (deletes the old one) More... | |
GEOMAPI_EXPORT bool | empty () const |
Returns true if the impl is empty. More... | |
The class represents an axis in 3D space.
GeomAPI_Ax2::GeomAPI_Ax2 | ( | ) |
Default constructor.
GeomAPI_Ax2::GeomAPI_Ax2 | ( | std::shared_ptr< GeomAPI_Pnt > | theOrigin, |
std::shared_ptr< GeomAPI_Dir > | theN, | ||
std::shared_ptr< GeomAPI_Dir > | theVX | ||
) |
Constructor.
[in] | theOrigin | point of origin. |
[in] | theN | direction of axis. |
[in] | theVX | x direction of axis. |
GeomAPI_Ax2::GeomAPI_Ax2 | ( | std::shared_ptr< GeomAPI_Pnt > | theOrigin, |
std::shared_ptr< GeomAPI_Dir > | theDir | ||
) |
Constructor.
[in] | theOrigin | point of origin. |
[in] | theDir | direction of axis. |
void GeomAPI_Ax2::setOrigin | ( | const std::shared_ptr< GeomAPI_Pnt > & | theOrigin | ) |
Sets origin point.
std::shared_ptr< GeomAPI_Pnt > GeomAPI_Ax2::origin | ( | ) | const |
void GeomAPI_Ax2::setDir | ( | const std::shared_ptr< GeomAPI_Dir > & | theDir | ) |
Sets direction vector.
std::shared_ptr< GeomAPI_Dir > GeomAPI_Ax2::dir | ( | ) | const |
|
inlineinherited |
Returns the pointer to the impl.
|
inlineinherited |
Returns the pointer to the impl.
|
inlineinherited |
Returns the reference object of the impl.
|
inlineinherited |
Updates the impl (deletes the old one)
|
inherited |
Returns true if the impl is empty.