igeo.gui
Class IGLPolygon

java.lang.Object
  extended by igeo.gui.IGLElement
      extended by igeo.gui.IGLPolygon

public class IGLPolygon
extends IGLElement

Objectified OpenGL polygon drawing process.


Field Summary
 
Fields inherited from class igeo.gui.IGLElement
normal, pts, tmpNormal, tmpPts
 
Constructor Summary
IGLPolygon()
           
IGLPolygon(IVec[] pts)
           
 
Method Summary
 void draw(javax.media.opengl.GL gl)
           
 
Methods inherited from class igeo.gui.IGLElement
addPoint, addPoint, drawPoints, finalizePoint, getNum, num, setNormal, setNormal, setNormalNum, setPoint, setPoint, setPointNum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IGLPolygon

public IGLPolygon()

IGLPolygon

public IGLPolygon(IVec[] pts)
Method Detail

draw

public void draw(javax.media.opengl.GL gl)
Specified by:
draw in class IGLElement