|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITriangle
A triangle forms part of a mesh, which is used to draw the surface of a complex shape.
| Method Summary | |
|---|---|
ITriangle |
duplicate()
Return a copy of this triangle |
int |
materialIndex()
The index of the material associated with this trangle face |
IXyz |
normal()
A unit-length normal vector to this triangle face |
void |
replace(IVertex u,
IVertex v)
|
double |
shade()
|
void |
vertexIndices(int[] vertexIndices)
Set the vertices of this triangle by providing three indices into the vertex array for the Mesh |
IVertex[] |
vertices()
An array of this triangle's three vertices |
| Method Detail |
|---|
IVertex[] vertices()
IXyz normal()
int materialIndex()
void vertexIndices(int[] vertexIndices)
ITriangle duplicate()
void replace(IVertex u,
IVertex v)
double shade()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||