[2] | 1 | % D = The n vertex coordinates of the wireframe Toyota model
|
---|
| 2 | % and C = the nxn connection structure of the Toyata wireframe
|
---|
| 3 | % representation are constructed
|
---|
| 4 |
|
---|
| 5 | D1 = [ -6.5, -6.5, -6.5, -6.5, -2.5, -2.5, -0.75, -0.75, 3.25, 3.25;
|
---|
| 6 | -2 , -2 , 0.5, 0.5, 0.5, 0.5, 2 , 2 , 2 , 2 ;
|
---|
| 7 | -2.5, 2.5, 2.5, -2.5, -2.5, 2.5, -2.5 , 2.5 ,-2.5 , 2.5 ;
|
---|
| 8 | 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 ; ];
|
---|
| 9 |
|
---|
| 10 | D2 = [ 4.5, 4.5, 6.5, 6.5, 6.5, 6.5;
|
---|
| 11 | 0.5, 0.5, 0.5, 0.5, -2 , -2 ;
|
---|
| 12 | -2.5, 2.5, -2.5, 2.5, 2.5, -2.5;
|
---|
| 13 | 1 , 1 , 1 , 1 , 1 , 1 ; ];
|
---|
| 14 |
|
---|
| 15 | D = [ D1, D2];
|
---|
| 16 |
|
---|
| 17 | %Pnt 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
---|
| 18 | C = [ 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1;
|
---|
| 19 | 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0;
|
---|
| 20 | 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0;
|
---|
| 21 | 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0;
|
---|
| 22 | 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0;
|
---|
| 23 | 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0;
|
---|
| 24 | 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0;
|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