Graphics Reference
In-Depth Information
Y
n
2
n
1
T
1
v
t
X
Figure 6.27.
11
1
11 1
00 0
−
1
4
x
T
=
=
0
01
1
01 1
20 0
−
1
4
4
4
=
y
T
=
=
1
011
011
200
1
4
z
T
=
=
0
Therefore, the line equation is
=
+
p
j
i
Remember that the direction of
v
could have been reversed if
n
1
and
n
2
had been reversed in
the cross-product calculation.
This example concludes this chapter on intersections. Hopefully, the reader will feel confident
to undertake other intersection problems by implementing some of the above strategies.