The ListOfProjPoints Class

The ListOfProjPoints Class

This is a class that implements a variable list or array of projective points, or ProjPoints. The interface to the class allows the programmer to add ProjPoints to the end of the list, and access points through array indices. Sublists can also be generated.

To Obtain the Class

To obtain the ListOfProjPoints class you need both the include file ListOfProjPoints.h and the source code file ListOfProjPoints.C. The user must also include the ProjPoint class for the ListOfProfPoints class to operate correctly.

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>

This class does not keep a linked list of ProjPoints, but maintains an array of ProjPoints, which is set at a certain size initially, and then expanded in chunks when it is necessary. Externally this is not visible to the user of the class, but when modifying the class, this fact must be taken into consideration.

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 : joy@cs.ucdavis.edu

All contents copyright (c) 1998
Computer Science Department, University of California, Davis
All rights reserved.



Ken Joy
Wed Jan 7 14:58:34 PST 1998