Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Geom_Transformation2d Class Reference

Transformation2d Transformation2d.hxx cadex/Geom/Transformation2d.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Geom_Transformation2d:

Public Member Functions

 __init__ (self, *args)
 Overload 1: Constructor.
 
 IsIdentity (self)
 
 ResetToIdentity (self)
 
 ScaleFactor (self)
 
 SetScaleFactor (self, theScale)
 Sets a scale factor.
 
 RotationAngle (self)
 
 Rotation (self)
 
 SetRotation (self, *args)
 
 Translation (self)
 
 SetTranslation (self, *args)
 
 IsNegative (self)
 
 Invert (self)
 Inverts the matrix.
 
 Inverted (self)
 
 Multiply (self, theTrsf)
 Multiplies this matrix with another one.
 
 Multiplied (self, theTrsf)
 
 Power (self, theNum)
 
 Powered (self, theNum)
 
 IsEqual (self, theOther)
 

Static Public Member Functions

 MirrorTransformation (*args)
 
 ScaleTransformation (thePoint, theScale)
 
 RotateTransformation (theVec, theAngle)
 
 TranslateTransformation (theVector)
 

Detailed Description

Transformation2d Transformation2d.hxx cadex/Geom/Transformation2d.hxx.

Defines a 2D transformation matrix.

Contains rotation and translation part and a scale factor. A rotation part (2 x 2 matrix) must not contain a scale factor or inversion, i.e. its matrix determinant must be equal to 1.

Individual matrix elements can retrieved using the Data() method.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Geom_Transformation2d.__init__ ( self,
* args )

Overload 1: Constructor.

|

Overload 2: Constructor.


The documentation for this class was generated from the following file:
  • CadExMTK.py