|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjFace
Interface for classes providing the information of a single face that is stored in an OBJ file.
Method Summary | |
---|---|
boolean |
containsNormalIndices()
Returns whether this face contains normal indices |
boolean |
containsTexCoordIndices()
Returns whether this face contains texture coordinate indices |
ObjGroup |
getGroup()
Returns the group that this face belongs to |
ObjGroup |
getMaterialGroup()
Returns the material group that this face belongs to |
int |
getNormalIndex(int number)
Returns the index of the normal with the given number. |
int |
getNumVertices()
Returns the number of vertices this face consists of. |
int |
getTexCoordIndex(int number)
Returns the index of the texture coordinate with the given number. |
int |
getVertexIndex(int number)
Returns the index of the vertex with the given number. |
Method Detail |
---|
int getNumVertices()
boolean containsTexCoordIndices()
boolean containsNormalIndices()
int getVertexIndex(int number)
number
- The number of the vertex
int getTexCoordIndex(int number)
number
- The number of the texture coordinate
int getNormalIndex(int number)
number
- The number of the normal
ObjGroup getGroup()
ObjGroup getMaterialGroup()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |