90 likes | 203 Views
4. 4. 00. 01. 02. 03. 4. 21. 23. 4. 4. 00. 01. 02. 03. 4. 21. 23. x=1 y=0 z=0. =(01) =(00) =(00). (000) = 0. (1,0,0). (001) = 1. tcase = 0. tcase = 1. B. (x2, y2). t=1. tcase = 3. tcase = 2. A. (x1, y1). t=0. 1. 0. x = t(x2-x1) + x1 y = t(y2-y1) + y1. 3. 2.
E N D
4 4 00 01 02 03 4 21 23
4 4 00 01 02 03 4 21 23 x=1 y=0 z=0 =(01) =(00) =(00) (000) = 0 (1,0,0) (001) = 1
tcase = 0 tcase = 1 B (x2, y2) t=1 tcase = 3 tcase = 2 A (x1, y1) t=0 1 0 x = t(x2-x1) + x1 y = t(y2-y1) + y1 3 2
(x2, y2) bitx = 1 bity = 0 bitx = 0 bity = 0 1 0 bitx = 0 bity = 1 bitx = 1 bity = 1 3 2 (x1, y1) (x3, y3)
(x2, y2) t = 1 (x1, y1) t = 0 or 2 = 3 tcase = 1 (xx1, midy) tt2 tt1 (midx, yy1)
tcase = 0 tcase = 1 tcase = 3 tcase = 2