public interface ObjFace
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNormalIndices()
Returns whether this face contains normal indices
|
boolean |
containsTexCoordIndices()
Returns whether this face contains texture coordinate indices
|
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.
|
int getNumVertices()
boolean containsTexCoordIndices()
boolean containsNormalIndices()
int getVertexIndex(int number)
number - The number of the vertexIndexOutOfBoundsException - If the given number is negative
or not smaller than getNumVertices()int getTexCoordIndex(int number)
number - The number of the texture coordinateIndexOutOfBoundsException - If the given number is negative
or not smaller than getNumVertices()int getNormalIndex(int number)
number - The number of the normalIndexOutOfBoundsException - If the given number is negative
or not smaller than getNumVertices()Copyright © 2018. All rights reserved.