|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jinx.video.model.Face
public class Face
Represents a Face of a Model. This is used mostly for calculating
per-vertex normals. Face objects have an array of vertices. They also have
a normal vector for the face.
API Stability: Stable.
| Method Summary | |
|---|---|
float[] |
getNormal()
Provides the normal vector for this Face. |
float[][] |
getVertices()
Provides the vertex array from the constructor. |
boolean |
hasVertex(float[] v)
Provides the means to determine if this face has the given vertex. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public float[][] getVertices()
public boolean hasVertex(float[] v)
v - the vertex.
public float[] getNormal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||