01/23/2003
15-462 Graphics I
8
Lines and Line Segments
•
Parametric form of line:
P
(
a
) =
P
0
+
a
d
•
•
•
•
•
•
•
Line segment between
Q
and
R
:
•
P
(
a
) = (1-
a)
Q
+
a
R
for 0
·
a
·
1