21#include <com/sun/star/drawing/HomogenMatrix.hpp>
29 aRetval.
set(0, 0, rMatrixIn.Line1.Column1);
30 aRetval.
set(0, 1, rMatrixIn.Line1.Column2);
31 aRetval.
set(0, 2, rMatrixIn.Line1.Column3);
32 aRetval.
set(0, 3, rMatrixIn.Line1.Column4);
33 aRetval.
set(1, 0, rMatrixIn.Line2.Column1);
34 aRetval.
set(1, 1, rMatrixIn.Line2.Column2);
35 aRetval.
set(1, 2, rMatrixIn.Line2.Column3);
36 aRetval.
set(1, 3, rMatrixIn.Line2.Column4);
37 aRetval.
set(2, 0, rMatrixIn.Line3.Column1);
38 aRetval.
set(2, 1, rMatrixIn.Line3.Column2);
39 aRetval.
set(2, 2, rMatrixIn.Line3.Column3);
40 aRetval.
set(2, 3, rMatrixIn.Line3.Column4);
41 aRetval.
set(3, 0, rMatrixIn.Line4.Column1);
42 aRetval.
set(3, 1, rMatrixIn.Line4.Column2);
43 aRetval.
set(3, 2, rMatrixIn.Line4.Column3);
44 aRetval.
set(3, 3, rMatrixIn.Line4.Column4);
50 com::sun::star::drawing::HomogenMatrix& rMatrixOut)
52 rMatrixOut.Line1.Column1 = rMatrixIn.
get(0, 0);
53 rMatrixOut.Line1.Column2 = rMatrixIn.
get(0, 1);
54 rMatrixOut.Line1.Column3 = rMatrixIn.
get(0, 2);
55 rMatrixOut.Line1.Column4 = rMatrixIn.
get(0, 3);
56 rMatrixOut.Line2.Column1 = rMatrixIn.
get(1, 0);
57 rMatrixOut.Line2.Column2 = rMatrixIn.
get(1, 1);
58 rMatrixOut.Line2.Column3 = rMatrixIn.
get(1, 2);
59 rMatrixOut.Line2.Column4 = rMatrixIn.
get(1, 3);
60 rMatrixOut.Line3.Column1 = rMatrixIn.
get(2, 0);
61 rMatrixOut.Line3.Column2 = rMatrixIn.
get(2, 1);
62 rMatrixOut.Line3.Column3 = rMatrixIn.
get(2, 2);
63 rMatrixOut.Line3.Column4 = rMatrixIn.
get(2, 3);
64 rMatrixOut.Line4.Column1 = rMatrixIn.
get(3, 0);
65 rMatrixOut.Line4.Column2 = rMatrixIn.
get(3, 1);
66 rMatrixOut.Line4.Column3 = rMatrixIn.
get(3, 2);
67 rMatrixOut.Line4.Column4 = rMatrixIn.
get(3, 3);
void set(sal_uInt16 nRow, sal_uInt16 nColumn, double fValue)
double get(sal_uInt16 nRow, sal_uInt16 nColumn) const
void B3DHomMatrixToUnoHomogenMatrix(const B3DHomMatrix &rMatrixIn, com::sun::star::drawing::HomogenMatrix &rMatrixOut)
B3DHomMatrix UnoHomogenMatrixToB3DHomMatrix(const com::sun::star::drawing::HomogenMatrix &rMatrixIn)