The Frame data type together with the Vector data type and the Point data type implements a Frame in 3-dimensions. The Frame is formed by three vectors, representing the axes of the frame, and a point representing the origin of the frame.
To Obtain the Class
To obtain the Frame class you need both the include file Frame.h and the source code file Frame.C. You should also obtain a copy of the transform class that uses frames - Transformation.h and Transformation.C.
The user must also obtain the Vector class and the Point class for these to operate correctly. If the transformation class is needed, you should check the information on this class to see what addition classes must be obtained.
Make Sure to Also Include...
Be sure to include the following lines in your source code file, as these routines utilize them.#include <stdlib.h> #include <math.h> #include <stream.h> #include <strings.h>Also, if you wish to use UNIX commands (exevlp, system, sleep, etc.) in your program, you should also have#include <unistd.h>
Note the capitalization of the letter F in the class name. This avoid name conflicts with other systems (like gl) that uses the typename ``frame''.
This class was generated for a research system at UC Davis and has worked in a variety of situations. Unfortunately, this is not a guarantee that it will work in your situation. You may use it ``as is'' or can modify it. If you find errors, and can correct them, please send mail to the address below, as we would also like to know about them.
This document maintained by Ken Joy.
Comments to the author : email@example.com
All contents copyright (c) 1998
Computer Science Department, University of California, Davis
All rights reserved.