home *** CD-ROM | disk | FTP | other *** search
/ Late Night VRML 2.0 with Java CD-ROM / code.zip / Ch12 / geometry / Geometry.java < prev    next >
Text File  |  1997-01-05  |  500b  |  29 lines

  1. // VRML Generator
  2. // Copyright Justin Couch 1996
  3. //
  4. // Chapter 13: Late Night VRML 2.0 and Java
  5. //
  6. // Shape class
  7.  
  8. package geometry;
  9.  
  10. import java.io.*;
  11. import java.awt.*;
  12. import vrml.external.*;
  13. import vrml.external.field.*;
  14. import vrml.external.exception.*;
  15. import geometry.VrmlObject;
  16.  
  17. abstract class Geometry extends VrmlObject
  18. {
  19.     // constructor builds a copy of itself and is added to the scene
  20.     // graph.
  21.     protected Geometry()
  22.     {
  23.     }
  24.  
  25.     public void writeToFile(PrintStream fp, int indent)
  26.     {
  27.     }
  28. }
  29.