



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




























x axis
y axis
P y
x
x
y
(2, 3)
(2, 7) (7, 7)
(7, 3)
2 7
3
7
Right-Hand Reference System
Left-Hand Reference System
Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004)
ordered pair (x, y)
triple (x, y, z)
point
equation of a line is:
x
y
y 0
y end
x 0 x end
0
0
end
end
0 0
y ( 3 ) = ⋅ + =
y ( 4 ) = ⋅ + =
y ( 5 ) = ⋅ + =
y ( 6 )= ⋅ + =
y ( 7 ) = ⋅ + =
y ( 2 ) = ⋅ + =
x
y
2 3 4 5 6 7
2
5
Docsity.com
= ( x 2 (^) − x 1 , y 2 − y 1 , z 2 − z 1 )
= ( V (^) x , Vy , Vz )
x axis
y axis
z axis
P 1
P 2 So for (2, 1, 3) to (7, 10, 5)
we get
1 2 1 x 2 x 1 y 2 y
x axis
y axis
V (^1)
V (^2)
x axis
y axis
V (^1)
V (^2)
V 1 + V (^2)
by multiplying each of the components of the
vector by the scalar
( , ) x y sV = sV sV
x axis
y axis
sV
(sV (^) x, sVy)
x axis
y axis
V
(V (^) x, Vy)