9.2 Planar Components 331
9.2.3 2D Objects in a Plane
Consider a set S ⊂R
2
in the xy-plane that represents a 2D object. Abstractly,
S ={(x, y) ∈ R
2
: (x, y) satisfies some constraints}
This object can be embedded in a 2D plane in 3D. Let the plane contain the point P
and have a unit-length normal ˆn.If ˆu and ˆv are vectors in the plane so that ˆu, ˆv, and
ˆn form an orthonormal set, then the (x, y) pairs for the object in 2D can be used as
the coordinates of ˆu and ˆv as a method for embedding the 2D object in the plane in
3D, the embedded set labeled S
⊂ R
3
. This set is defined by
S
={P + x ˆu + y ˆv ∈R
3
: (x, y) ∈ S}
Observe that there are infinitely many planes in which the 2D object can be em-
bedded. Within each plane there are infinitely many ways to choose the vectors ˆu
and ˆv.
In many applications the problem is the reverse one—start with the object that
lives in a specific plane in 3D and obtain a congruent object in the xy-plane. The
term “congruent” refers to obtaining one object from the other by applying a rigid
motion. If S
is a set of points on a plane ˆn · (X −P)= 0, any point Q ∈ S
can be
converted to a point in the xy-plane by solving Q = P + x ˆu + y ˆv for x and y.Itis
assumed that {ˆu, ˆv, ˆn}is an orthonormal set. The solution is simple: x =ˆu · (Q −P)
and y =ˆv · (Q − P). Since Q is on the plane, ˆn · (Q − P)= 0. To see that the two
triangles are congruent, the three equations can be written in vector form as
x
y
0
=
ˆu · (Q − P)
ˆv · (Q − P)
ˆn · (Q − P)
= R(Q − P)
where R is a rotation matrix whose rows are ˆu, ˆv, and ˆn. Thus, points (x, y,0) in
the xy-plane are obtained from points in the plane ˆn · (X −P)= 0 by a translation
followed by a rotation, in total a rigid motion.
Example Given a 2D triangle with vertices (x
i
, y
i
) for i = 0, 1, 2, and given a plane ˆn · (X −
P)=0 in which the triangle should live, a simple choice for vertices of the triangle in
3D is V
i
= P + x
i
ˆu + y
i
ˆv for i = 0, 1, 2. Given vertices W
i
for i =0, 1, 2, construct
a triangle in the xy-plane that is congruent to the original triangle. To solve this
problem, construct a plane containing the original triangle. Define the plane origin
to be P = W
0
. Define the edge vectors e
0
= W
1
− W
0
and e
1
= W
2
− W
0
. A unit-
length normal vector to the plane of the triangle is ˆn =(e
0
×e
1
)/e
0
×e
1
. Construct
ˆu and ˆv as described earlier. Determine the coefficients d
ij
in the representations
e
0
=d
00
ˆu +d
01
ˆv and e
1
=d
10
ˆu +d
11
ˆv. The coefficients are easily computed using dot
products, d
00
=e
0
·ˆu, d
01
=e
0
·ˆv, d
10
=e
1
·ˆu, and d
11
=e
1
·ˆv. The representations
lead to W
1
= W
0
+e
0
= P + d
00
ˆu + d
01
ˆv and W
2
= W
1
+e
1
= P + d
10
ˆu + d
11
ˆv.