de.javagl.simplemesh
Interface Face

All Superinterfaces:
Indexed, java.io.Serializable
All Known Implementing Classes:
DefaultFace

public interface Face
extends Indexed, java.io.Serializable

Simple interface for an indexed face


Method Summary
 int getNumVertices()
          Returns the number of vertices of this face
 Vertex getVertex(int index)
          Returns the specified vertex
 
Methods inherited from interface de.javagl.simplemesh.Indexed
getIndex
 

Method Detail

getVertex

Vertex getVertex(int index)
Returns the specified vertex

Parameters:
index - The vertex index
Returns:
The vertex

getNumVertices

int getNumVertices()
Returns the number of vertices of this face

Returns:
The number of vertices of this face