Overview
We have shown
that given two frames
in an affine space of dimension
,
we can find a
matrix that converts
the coordinates of a point in the first frame
to the coordinates of the same point in the second frame.
These operations are called
transformations and they can be looked
at in either of two ways :
they convert the local coordinates between two frames, or alternatively, leave
the coordinates constant and change the frames themselves.
We will restrict ourselves to 3-dimensional space in this discussion.
In this space a frame consists of three linearly independent vectors (usually
denoted
,
and
), and a point
representing the
origin of the frame.
The coordinates are written as
, meaning a point
has a unique representation
For a pdf version of these notes look
here.
The Local Coordinates of a Point with Respect to a Frame
We have shown in the notes on
frames
that, given two frames,
and
,
we can relate the coordinates of the two frames by an
matrix
If
is a point which has local coordinates
with respect to the frame
, then we
can calculate the local coordinates
of
with respect to the frame
by
with frame
Transforming the Local Coordinates within a Frame
If we apply the
matrix in the above equation to the
coordinate,
it can be viewed as a method of
transforming coordinates within a frame. If we select an
appropriate
matrix, we can utilize it to perform
the same operation on all coordinates of the frame.
For example, consider the matrix
Transforming the Frame
If we apply the
matrix in the above equation to the
frame,
We Get the Same Result
Both transforming the local coordinates and transforming the frame come from the basic equation.
Summary
In the study of transformations it is useful to allow us to shift our point of view between the local coordinates of a point, or the frame that defines the local coordinate system. In this case, we can concentrate on either, as the transformations apply to both frames and coordinates.
There is one basic mathematical difference between the two points of view - applying transformations to local coordinates implies that the matrix is multiplied on the right, where applying transformations to frames implies that the matrix is multiplied on the left.
Return to
the Graphics Notes Home Page
Return
to the Geometric Modeling Notes Home Page
Return
to the UC Davis Visualization and Graphics Group Home Page
This document maintained by Ken Joy
All contents copyright (c) 1996, 1997, 1998,
1999
Computer Science Department
University of California, Davis
All rights reserved.