|
SHAPER
9.15.0
|
Keep the transformation matrix coefficients. More...

Public Member Functions | |
| GEOMAPI_EXPORT | GeomAPI_Trsf () |
| Keeps no transformation, it may be set by setImpl. More... | |
| GEOMAPI_EXPORT | GeomAPI_Trsf (void *theTrsf) |
| Takes the pointer to existing transformation. More... | |
| GEOMAPI_EXPORT void | setTranslation (const std::shared_ptr< GeomAPI_Ax1 > theAxis, const double theDistance) |
| Sets a translation transformation. More... | |
| GEOMAPI_EXPORT void | setTranslation (const double theDx, const double theDy, const double theDz) |
| Sets a translation transformation using three coordinates. More... | |
| GEOMAPI_EXPORT void | setTranslation (const std::shared_ptr< GeomAPI_Pnt > theStartPoint, const std::shared_ptr< GeomAPI_Pnt > theEndPoint) |
| Sets a translation transformation using two points. More... | |
| GEOMAPI_EXPORT void | setRotation (const std::shared_ptr< GeomAPI_Ax1 > theAxis, const double theAngle) |
| Sets a rotation transformation. More... | |
| GEOMAPI_EXPORT void | setRotation (const std::shared_ptr< GeomAPI_Pnt > theCenterPoint, const std::shared_ptr< GeomAPI_Pnt > theStartPoint, const std::shared_ptr< GeomAPI_Pnt > theEndPoint) |
| Sets a rotation transformation using three points. More... | |
| GEOMAPI_EXPORT void | setSymmetry (const std::shared_ptr< GeomAPI_Pnt > thePoint) |
| Sets a point symmetry transformation. More... | |
| GEOMAPI_EXPORT void | setSymmetry (const std::shared_ptr< GeomAPI_Ax1 > theAxis) |
| Sets an axis symmetry transformation. More... | |
| GEOMAPI_EXPORT void | setSymmetry (const std::shared_ptr< GeomAPI_Ax2 > thePlane) |
| Sets a plane symmetry transformation. More... | |
| GEOMAPI_EXPORT void | setScale (const std::shared_ptr< GeomAPI_Pnt > &theCenter, const double theScale) |
| Sets the scaling transformation. More... | |
| 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... | |
Keep the transformation matrix coefficients.
| GeomAPI_Trsf::GeomAPI_Trsf | ( | ) |
Keeps no transformation, it may be set by setImpl.
| GeomAPI_Trsf::GeomAPI_Trsf | ( | void * | theTrsf | ) |
Takes the pointer to existing transformation.
| void GeomAPI_Trsf::setTranslation | ( | const std::shared_ptr< GeomAPI_Ax1 > | theAxis, |
| const double | theDistance | ||
| ) |
Sets a translation transformation.
| [in] | theAxis | translation axis. |
| [in] | theDistance | translation distance. |
| void GeomAPI_Trsf::setTranslation | ( | const double | theDx, |
| const double | theDy, | ||
| const double | theDz | ||
| ) |
Sets a translation transformation using three coordinates.
| [in] | theDx | x coordinate of the translation vector |
| [in] | theDy | y coordinate of the translation vector |
| [in] | theDz | z coordinate of the translation vector |
| void GeomAPI_Trsf::setTranslation | ( | const std::shared_ptr< GeomAPI_Pnt > | theStartPoint, |
| const std::shared_ptr< GeomAPI_Pnt > | theEndPoint | ||
| ) |
Sets a translation transformation using two points.
| [in] | theStartPoint | Start point of the translation vector. |
| [in] | theEndPoint | End point of the translation vector. |
| void GeomAPI_Trsf::setRotation | ( | const std::shared_ptr< GeomAPI_Ax1 > | theAxis, |
| const double | theAngle | ||
| ) |
Sets a rotation transformation.
| [in] | theAxis | rotation axis. |
| [in] | theAngle | rotation angle(in degree). |
| void GeomAPI_Trsf::setRotation | ( | const std::shared_ptr< GeomAPI_Pnt > | theCenterPoint, |
| const std::shared_ptr< GeomAPI_Pnt > | theStartPoint, | ||
| const std::shared_ptr< GeomAPI_Pnt > | theEndPoint | ||
| ) |
Sets a rotation transformation using three points.
| [in] | theCenterPoint | rotation center. |
| [in] | theStartPoint | start rotation point. |
| [in] | theEndPoint | end rotation point. |
| void GeomAPI_Trsf::setSymmetry | ( | const std::shared_ptr< GeomAPI_Pnt > | thePoint | ) |
Sets a point symmetry transformation.
| [in] | thePoint | symmetry point. |
| void GeomAPI_Trsf::setSymmetry | ( | const std::shared_ptr< GeomAPI_Ax1 > | theAxis | ) |
Sets an axis symmetry transformation.
| [in] | theAxis | symmetry axis. |
| void GeomAPI_Trsf::setSymmetry | ( | const std::shared_ptr< GeomAPI_Ax2 > | thePlane | ) |
Sets a plane symmetry transformation.
| [in] | thePlane | symmetry plane. |
| void GeomAPI_Trsf::setScale | ( | const std::shared_ptr< GeomAPI_Pnt > & | theCenter, |
| const double | theScale | ||
| ) |
Sets the scaling transformation.
| [in] | theCenter | scaling origin. |
| [in] | theScale | scaling factor. |
|
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.