|
SHAPER
9.15.0
|
The class represents an axis in 3D space. More...

Public Member Functions | |
| GEOMAPI_EXPORT | GeomAPI_Ax1 () |
| Default constructor. More... | |
| GEOMAPI_EXPORT | GeomAPI_Ax1 (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 |
| GEOMAPI_EXPORT void | reverse () |
| Reverses the unit vector of this axis and assigns the result to this axis. More... | |
| GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Ax1 > | reversed () |
| 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_Ax1::GeomAPI_Ax1 | ( | ) |
Default constructor.
| GeomAPI_Ax1::GeomAPI_Ax1 | ( | 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_Ax1::setOrigin | ( | const std::shared_ptr< GeomAPI_Pnt > & | theOrigin | ) |
Sets origin point.
| std::shared_ptr< GeomAPI_Pnt > GeomAPI_Ax1::origin | ( | ) | const |
| void GeomAPI_Ax1::setDir | ( | const std::shared_ptr< GeomAPI_Dir > & | theDir | ) |
Sets direction vector.
| std::shared_ptr< GeomAPI_Dir > GeomAPI_Ax1::dir | ( | ) | const |
| void GeomAPI_Ax1::reverse | ( | ) |
Reverses the unit vector of this axis and assigns the result to this axis.
| std::shared_ptr< GeomAPI_Ax1 > GeomAPI_Ax1::reversed | ( | ) |
|
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.