Drawpoly Files:

1.  FILES:
	Makefile
	drawpoly.cpp	-- original polygon display program
	drawcurve.cpp	-- curve display program
	input*		-- sample input files
	data/		-- directory for other input files

2.  USAGE:

	--To compile the main program (drawcurve.cpp), first use an editor
	to choose the platform option (cygwin,unix,etc) in the Makefile.
	You may need to fix other options in this file.  
	Then type "make".  This creates the executable for draw.curve.
	--To run the program for a simple example, type "make test".
	--For more details on the input file format, see the source files 
	(drawcurve.cpp).

3. EXTENSIONS:

	--Allow the display of individual points (with labels)
	--Allow display of optional labels on Polygon vertices
	--It may be best to write a script (e.g., perl) to process an
		input file, and then call a plain drawpoly to
		display the result...
	--We should automatically rescale the x- or y-coordinates
		into something that is reasonable

4. LOCAL NOTES:
	-- For you may need to set the correct LD_LIBRARY_PATH to get OpenGL:

    % setenv LD_LIBRARY_PATH \
        ${LD_LIBRARY_PATH}:/usr/unsupported/packages/opengl/OpenGL-Mesa2.4/lib

5. HISTORY:
	The original drawpoly.cc program was originally written by
	Chen Li (1999) to help us debug the "convert program".  
	The convert program, given any raster image I, computes 
	a new image J where J is a translated, rotated and scaled
	version of I, but broken up different tiles of some fixed
	size.  The file input0 is an example of a construction from
	the convert program.  This was extended by Chee and Tingjen
	to allow more flexible input formats as well as colors.
	 
		
