Graphics Reference
In-Depth Information
and the object is defined as
location:
q
,
velocity: s
O
ˆ
v
O
,
the object's relationship with you is given by
location:
q
−
y
,
velocity: s
R
ˆ
v
R
=
s
O
ˆ
v
O
−
s
Y
ˆ
v
Y
.
To keep the geometry simple, it is best if you are located at the origin, as shown in Fig. 11.4.
Y
C
v
R
d
Y
ou
q
−
y
X
Z
Figure 11.4.
With reference to Eq. (11.7), the time taken to reach C is given by
t
C
=
−ˆ
v
R
·
q
−
y
(11.9)
s
R
With reference to Eq. (11.8), the distance
d
is given by
d
=
q
+
t
C
s
R
ˆ
v
R
(11.10)
Let's test Eqs. (11.9) and (11.10) with an example.
Say you are defined as
location:
y
=
10
i
+
10
j
km,
4
i
kmh
−
1
,
velocity: s
Y
ˆ
v
Y
=
and the object is defined as
location
q
=
25
i
+
10
j
km,
3
j
mh
−
1
.
velocity s
O
ˆ
v
O
=
This scenario is shown in Fig. 11.5.