edu.uprm.ece.terrainrenderer
Class Surface
java.lang.Object
edu.uprm.ece.terrainrenderer.Surface
public class Surface
- extends java.lang.Object
- Author:
- Ricardo Veguilla
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
color
private java.awt.Color color
surfaceNormal
private Vector surfaceNormal
vertexList
private java.util.List<Vertex> vertexList
Surface
public Surface()
Surface
public Surface(java.awt.Color color,
Vector surfaceNormal)
Surface
public Surface(java.awt.Color color,
Vertex surfaceNormal,
java.util.List<Vertex> vertexList)
getColor
public java.awt.Color getColor()
setColor
public void setColor(java.awt.Color color)
getVertexList
public java.util.List<Vertex> getVertexList()
setVertexList
public void setVertexList(java.util.List<Vertex> vertexList)
addVertex
public void addVertex(Vertex vertex)
getSurfaceNormal
public Vector getSurfaceNormal()
- Returns:
- Returns the surfaceNormal.
setSurfaceNormal
public void setSurfaceNormal(Vector surfaceNormal)
- Parameters:
surfaceNormal
- The surfaceNormal to set.