org.openmali.spatial.polygons
Class Polygon
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Polygon
public Polygon(int features,
int texCoordsSize)
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()