Class Polygon

java.lang.Object
  extended by Model
      extended by Polygon

public class Polygon
extends Model


Field Summary
 
Fields inherited from class Model
EMPTY
 
Constructor Summary
Polygon(Point[] points)
           
 
Method Summary
 void draw(Graphics3D g)
           
 
Methods inherited from class Model
color, rotateX, rotateY, rotateZ, scale, transform, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polygon

public Polygon(Point[] points)
Method Detail

draw

public void draw(Graphics3D g)
Specified by:
draw in class Model