Here is the output:
Command: Matrix_PrintOut
The identity matrix is:
((1,0,0,0),(0,1,0,0),(0,0,1,0),(0,0,0,1))
The movement matrix is:
((1,0,0,10),(0,1,0,10),(0,0,1,10),(0,0,0,1))
The rotation matrix is:
((0.707106781186547,-0.707106781186548,0,3.58578643762691),(0.707106781186548,0.
707106781186547,0,-2.65685424949238),(0,0,1,0),(0,0,0,1))
The scaleAroundOrigin matrix is:
((2,0,0,0),(0,2,0,0),(0,0,2,0),(0,0,0,1))
The scaleAroundPoint matrix is:
((2,0,0,-5),(0,2,0,-3),(0,0,2,-1),(0,0,0,1))
The pointMirror matrix is:
((-1,0,0,10),(0,-1,0,6),(0,0,-1,2),(0,0,0,1))
The lineMirror matrix is:
((-0.956709956709957,0.147186147186147,0.251082251082251,9.09090909090909),(0.14
7186147186147,-0.4995670995671,0.853679653679654,2.90909090909091),(0.2510822510
82251,0.853679653679654,0.456277056277056,-3.27272727272727),(0,0,0,1))
The planeMirror matrix is:
((0.333333333333333,-0.666666666666667,-0.666666666666667,6.66666666666667),(-0.
666666666666667,0.333333333333333,-0.666666666666667,6.66666666666667),(-0.66666
6666666667,-0.666666666666667,0.333333333333333,6.66666666666667),(0,0,0,1))
The compond matrix is:
((-1.56114484158069,0.914647213067275,-0.852201419404047,20.9139839881057),(-1.1
4483955049251,-0.498341921979091,1.56236926890742,18.6568542494924),(0.502164502
164502,1.70735930735931,0.912554112554112,2.45454545454545),(0,0,0,1))
The projection matrix is:
((0.833333333333333,-0.166666666666667,-0.166666666666667,1.66666666666667),(-0.
333333333333333,0.666666666666667,-0.333333333333333,3.33333333333333),(-0.5,-0.
5,0.5,5),(0,0,0,1))
The planeToWorld1 matrix is:
((-0.707106781186548,-0.408248290463863,0.577350269189626,10),(0.707106781186548
,-0.408248290463863,0.577350269189626,0),(0,0.816496580927726,0.577350269189626,
0),(0,0,0,1))
The planeToWorld2 matrix is:
((-0.894427190999916,-0.358568582800318,0.267261241912424,0),(0.447213595499958,
-0.717137165600636,0.534522483824849,0),(0,0.597614304667197,0.801783725737273,0
),(0,0,0,1))
The worldToPlane1 matrix is:
((-0.707106781186548,0.707106781186548,0,7.07106781186548),(-0.408248290463863,-
0.408248290463863,0.816496580927726,4.08248290463863),(0.577350269189626,0.57735
0269189626,0.577350269189626,-5.77350269189626),(0,0,0,1))
The worldToPlane2 matrix is:
((-0.894427190999916,0.447213595499958,0,0),(-0.358568582800318,-0.7171371656006
36,0.597614304667197,0),(0.267261241912424,0.534522483824849,0.801783725737273,0
The alignmentCS matrix is:
((0,0,1,5),(1,0,0,3),(0,1,0,1),(0,0,0,1))
The code and the output here just give some ideas about what kind of transformations (in fact pretty everthing) that the AutoCAD .NET Matrix provides us. In terms of what they really indicate, they will be discussed and demonstrated in coming posts. Please stay tuned.
AutoCAD .NET Addin Wizard (AcadNetAddinWizard) provides many project wizards, item wizards, coders and widgets to help automate AutoCAD conveniently and professionally using the AutoCAD .NET API.
If you find the information/code here is helpful, please make a kind donation. Or if you'd like to make comments to us directly, please feel free to email us.