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.

Author:
Satoru Sugihara

Field Summary
 
Fields inherited from class igeo.gui.IGLElement
normal, pts, tmpNormal, tmpPts
 
Constructor Summary
private IGLPolygon()
           
private IGLPolygon(IVec[] pts)
           
 
Method Summary
 void draw(GL2 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

private IGLPolygon()

IGLPolygon

private IGLPolygon(IVec[] pts)
Method Detail

draw

public void draw(GL2 gl)
Specified by:
draw in class IGLElement