Overview
Given two frames
in
three-dimensional space, it is
possible to develop a
matrix
that
converts coordinates from one frame to coordinates of
another.
Here we discuss the special case of converting the coordinates
of points of an object specified in the Cartesian frame to a
local coordinate system
specified by an arbitrary frame. This conversion matrix is useful in
the construction of complex transformations, as in many cases it is
worthwhile to first convert to the Cartesian frame,
do our operations in
this well-known frame, and then utilize this transformation to convert
back.
For a pdf version of these notes look
here.
The Problem
Suppose we are given a Frame
and we
let
be the Cartesian frame
If we have a point
with coordinates
in the
Cartesian frame, what local coordinates does this point have with respect to the
frame
?
Developing the Conversion Matrix
How do we solve this problem?
Well, we wish to find coordinates
, so that
This is a very nice result, which says that the coordinate
change between
and
can be represented by a
matrix.
Calculating the Components of the Matrix
So how do we calculate the matrix
?
By substituting specific
s into the equations above, we
can calculate the components of the conversion matrix for
frames.
Specifically,
If the arbitrary frame is an orthonormal frame - which is frequently the case - the calculations are even easier and the interested reader should see the section on Cramer's Rule for more information.
Summary
We have developed a method that converts
the coordinates of a point in the Cartesian frame
to the coordinates of the same point in an arbitrary frame.
The conversion is accomplished by a
matrix whose
components can be easily calculated using Cramer's rule.
We note that this transformation is the inverse of the transformation that converts coordinates from an arbitrary Frame to the Cartesian frame.
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.