org.openmali.spatial.polygons
Class Polygon

java.lang.Object
  extended by org.openmali.spatial.polygons.Polygon
Direct Known Subclasses:
Triangle

public abstract class Polygon
extends java.lang.Object

A Polygon is a shape in 3D-space.


Constructor Summary
Polygon(int features, int texCoordsSize)
           
 
Method Summary
 void addFeature(int feature)
           
 int getFeatures()
           
 int getTexCoordsSize()
           
 boolean hasFeature(int feature)
           
 void removeFeature(int feature)
           
 void setFeatures(int features)
           
 void setTexCoordsSize(int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Polygon

public Polygon(int features,
               int texCoordsSize)
Method Detail

setFeatures

public void setFeatures(int features)

getFeatures

public final int getFeatures()

addFeature

public void addFeature(int feature)

removeFeature

public void removeFeature(int feature)

hasFeature

public boolean hasFeature(int feature)

setTexCoordsSize

public final void setTexCoordsSize(int size)

getTexCoordsSize

public final int getTexCoordsSize()