1
<?xml version="1.0" encoding="UTF-8"?>
2
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
8
Include="Base/Matrix.h"
9
FatherInclude="Base/PyObjectBase.h"
14
FatherNamespace="Base">
16
<Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
17
<DeveloperDocu>This is the Matrix export class</DeveloperDocu>
18
<UserDocu>A 4x4 Matrix</UserDocu>
24
Move the matrix along the vector
28
<Methode Name="scale">
32
Scale the matrix with the vector
36
<Methode Name="unity">
38
<UserDocu>unity() - make this matrix to unity</UserDocu>
41
<Methode Name="transform">
43
<UserDocu>transform(Vector,Matrix) - return the dot product of the two vectors</UserDocu>
46
<Methode Name="rotateX">
48
<UserDocu>rotateX(float) - rotate around X</UserDocu>
51
<Methode Name="rotateY">
53
<UserDocu>rotateX(float) - rotate around Y</UserDocu>
56
<Methode Name="rotateZ">
58
<UserDocu>rotateZ(float) - rotate around Z</UserDocu>
61
<Methode Name="multiply">
64
multiply(Matrix|Vector)
65
Multiply a matrix or vector with this matrix
69
<Methode Name="invert">
73
Compute the inverse matrix, if possible
77
<Methode Name="inverse">
81
Compute the inverse matrix, if possible
85
<Methode Name="determinant">
88
determinant() -> Float
89
Compute the determinant of the matrix
93
<Attribute Name="A11" ReadOnly="false">
95
<UserDocu>The matrix elements</UserDocu>
97
<Parameter Name="A11" Type="Float" />
99
<Attribute Name="A12" ReadOnly="false">
101
<UserDocu>The matrix elements</UserDocu>
103
<Parameter Name="A12" Type="Float" />
105
<Attribute Name="A13" ReadOnly="false">
107
<UserDocu>The matrix elements</UserDocu>
109
<Parameter Name="A13" Type="Float" />
111
<Attribute Name="A14" ReadOnly="false">
113
<UserDocu>The matrix elements</UserDocu>
115
<Parameter Name="A14" Type="Float" />
117
<Attribute Name="A21" ReadOnly="false">
119
<UserDocu>The matrix elements</UserDocu>
121
<Parameter Name="A21" Type="Float" />
123
<Attribute Name="A22" ReadOnly="false">
125
<UserDocu>The matrix elements</UserDocu>
127
<Parameter Name="A22" Type="Float" />
129
<Attribute Name="A23" ReadOnly="false">
131
<UserDocu>The matrix elements</UserDocu>
133
<Parameter Name="A23" Type="Float" />
135
<Attribute Name="A24" ReadOnly="false">
137
<UserDocu>The matrix elements</UserDocu>
139
<Parameter Name="A24" Type="Float" />
141
<Attribute Name="A31" ReadOnly="false">
143
<UserDocu>The matrix elements</UserDocu>
145
<Parameter Name="A31" Type="Float" />
147
<Attribute Name="A32" ReadOnly="false">
149
<UserDocu>The matrix elements</UserDocu>
151
<Parameter Name="A32" Type="Float" />
153
<Attribute Name="A33" ReadOnly="false">
155
<UserDocu>The matrix elements</UserDocu>
157
<Parameter Name="A33" Type="Float" />
159
<Attribute Name="A34" ReadOnly="false">
161
<UserDocu>The matrix elements</UserDocu>
163
<Parameter Name="A34" Type="Float" />
165
<Attribute Name="A41" ReadOnly="false">
167
<UserDocu>The matrix elements</UserDocu>
169
<Parameter Name="A41" Type="Float" />
171
<Attribute Name="A42" ReadOnly="false">
173
<UserDocu>The matrix elements</UserDocu>
175
<Parameter Name="A42" Type="Float" />
177
<Attribute Name="A43" ReadOnly="false">
179
<UserDocu>The matrix elements</UserDocu>
181
<Parameter Name="A43" Type="Float" />
183
<Attribute Name="A44" ReadOnly="false">
185
<UserDocu>The matrix elements</UserDocu>
187
<Parameter Name="A44" Type="Float" />
189
<Attribute Name="A" ReadOnly="false">
191
<UserDocu>The matrix elements</UserDocu>
193
<Parameter Name="A" Type="List" />
195
<ClassDeclarations>public:
196
MatrixPy(const Matrix4D & mat, PyTypeObject *T = &Type)
197
:PyObjectBase(new Matrix4D(mat),T){}
198
Matrix4D value() const
199
{ return *(getMatrixPtr()); }
b'\\ No newline at end of file'