home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / src / libgplus.5 / libgplus / etc / plotfile / tplotfil.cc < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-03  |  389 b   |  15 lines

  1. #include <PlotFile3D.h>
  2. main()
  3. {
  4.   PlotFile3D foo("test.pl");
  5.   foo.space(-1000,-1000,-1000,1000,1000,1000).erase();
  6.       
  7.   // Draw and label
  8.   foo.linemod("longdashed").box(-1000,-1000,-1500,1000,1000,0);
  9.   foo.linemod("solid").sphere(0,0,500,0,0,500,30);
  10.   foo.linemod("dotted").circle(0,0,500,0,0,800,50);
  11.   char *title = "Test of PlotFile3D package";
  12.   foo.home().label(title);
  13.   
  14. }
  15.