test_transform_test_compose.txt 3.65 KB
Newer Older
1
# Test data for test_transform:test_compose_and_decompose.
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Each test is just an affine transformation matrix.
# The matrix is decomposed into its components,
# and then recomposed, and the result compared with
# the input.

1.0  0.0  0.0  0.0
0.0  1.0  0.0  0.0
0.0  0.0  1.0  0.0
0.0  0.0  0.0  1.0

-1.0  0.0  0.0  0.0
0.0   1.0  0.0  0.0
0.0   0.0  1.0  0.0
0.0   0.0  0.0  1.0

1.0   0.0  0.0  0.0
0.0  -1.0  0.0  0.0
0.0   0.0  1.0  0.0
0.0   0.0  0.0  1.0

1.0  0.0   0.0  0.0
0.0  1.0   0.0  0.0
0.0  0.0  -1.0  0.0
26
0.0  0.0   0.0  1.0
27
28
29
30
31
32
33
34
35
36
37

0.5   0.0  0.0   0.0
0.0   2.4  0.0   0.0
0.0   0.0  1.6   0.0
0.0   0.0  0.0   1.0

0.5   0.0   0.0  10.0
0.0   2.4   0.0 -25.0
0.0   0.0   1.6  53.0
0.0   0.0   0.0   1.0

38
0.5            0.0            0.0           10.0
39
40
0.0            0.0           -1.6           -6.7877502441
0.0            2.4            0.0           29.7931518555
41
0.0            0.0            0.0            1.0
42
43
44
45

0.0           -2.4           -0.0           30.6160888672
0.0            0.0           -1.6           -6.7877502441
0.5            0.0            0.0           50.5961608887
46
0.0            0.0            0.0            1.0
47
48
49
50
51
52

-0.0            1.3765834472   1.3106432709   0.0736983719
 0.0           -1.9659649063   0.9177222982  14.1062102814
 0.5            0.0            0.0           50.5961608887
 0.0            0.0            0.0            1.0

53
 0.453766452   -0.7004337463   0.4832135801  16.789591468
54
55
56
-0.0159784155   1.6056689296   1.1880787388 -16.2943532298
-0.2093817023  -1.640493784    0.9565424959  66.1123321137
 0.0            0.0            0.0            1.0
57

58
59
60
61
62
-1.1974397443   -0.8580717933   -0.3645386503  -50.0240993667
-0.7458801726    1.1196201539   -0.5710576979 -106.3700007704
 0.7128023509   -0.2699020211   -1.2099478647   -7.4191935569
 0.0             0.0             0.0             1.0

63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
-1.000000  0.000000  -0.000000  0.000000
0.000000   1.000000  -0.000000  0.000000
0.000000   0.000000   1.000000  0.000000
0.000000   0.000000   0.000000  1.000000

1.000000  0.000000  -0.000000  0.000000
0.000000  1.000000  -0.000000  0.000000
0.000000  0.000000   1.000000  0.000000
0.000000  0.000000   0.000000  1.000000

-2.000000  0.000000  -0.000000    90.000000
 0.000000  2.000000  -0.000000  -126.000000
 0.000000  0.000000   2.000000   -72.000000
 0.000000  0.000000   0.000000     1.000000

-1.000000  0.000000  -0.000000    90.000000
 0.000000  1.000000  -0.000000  -126.000000
 0.000000  0.000000   1.000000   -72.000000
 0.000000  0.000000   0.000000     1.000000

-0.500000  0.000000  -0.000000    90.000000
 0.000000  0.500000  -0.000000  -126.000000
 0.000000  0.000000   0.500000   -72.000000
 0.000000  0.000000   0.000000     1.000000

-0.998351  0.172175  -0.001508   88.453751
 0.055809  2.891963  -0.260024  -92.767014
 0.013469  0.779036   0.965601  -92.031097
 0.000000  0.000000   0.000000    1.000000

0.859157  -0.011162  -0.018416  -99.552223
0.011895   0.858345   0.046943  -83.334167
0.015283  -0.040551   0.998728  -77.306473
0.000000   0.000000   0.000000    1.000000
97

98
99
100
101
0.499529  -0.028847  -0.020837  -52.412189
0.018158   0.818889   0.038023  -79.724884
0.011864  -0.038744   0.819166  -71.899895
0.000000   0.000000   0.000000    1.000000
102

103
104
105
106
-0.374721  0.013086   0.098275    97.767311
 0.010162  0.351788  -2.071789  -111.735596
 0.010280  0.129224   5.630100   -91.104904
 0.000000  0.000000   0.000000     1.000000
107

108
109
110
111
-0.388466  -0.008614  -0.667304  102.035919
 0.041017  -0.081580  -6.319922   72.090378
-0.000000   0.381914  -1.365036  -41.159451
 0.000000   0.000000   0.000000    1.000000
112
113
114
115
116

1.1441229   0.833406   3.765340    3
0.8312539   2.459607  -0.804545    4
1.4142136   1.554275   1.724796    5
0.0         0.0        0.0         1