|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FacetedMesh
A FacetedMesh represents an object which is defined by a set of polygonal faces. Each face is defined by an ordered set of mesh vertices.
Field Summary |
---|
Fields inherited from interface artofillusion.object.Mesh |
---|
APPROXIMATING, INTERPOLATING, NO_SMOOTHING, SMOOTH_SHADING |
Method Summary | |
---|---|
int |
getFaceCount()
Get the number of faces in this mesh. |
int |
getFaceVertexCount(int face)
Get the number of vertices in a particular face. |
int |
getFaceVertexIndex(int face,
int vertex)
Get the index of a particular vertex in a particular face. |
Methods inherited from interface artofillusion.object.Mesh |
---|
copyObject, createMeshViewer, duplicate, getBounds, getNormals, getParameters, getParameterValues, getSkeleton, getVertexPositions, getVertices, setSkeleton, setVertexPositions |
Method Detail |
---|
int getFaceCount()
int getFaceVertexCount(int face)
face
- the index of the faceint getFaceVertexIndex(int face, int vertex)
face
- the index of the facevertex
- the index of the vertex within the face
(between 0 and getFaceVertexCount(face)-1 inclusive)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |