|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimogl.geometry.Face
public class Face
This class represents a face, that can be used in a mesh. A face consist of two triangles.
| Constructor Summary | |
|---|---|
Face(Triangle trig1,
Triangle trig2)
Creates a new face. |
|
| Method Summary | |
|---|---|
Triangle |
getTriangle1()
Returns the first triangle of the face |
Triangle |
getTriangle2()
Returns the second triangle of the face |
void |
setTriangle1(Triangle triangle1)
Sets the first triangle of the face |
void |
setTriangle2(Triangle triangle2)
Sets the second triangle of the face |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Face(Triangle trig1,
Triangle trig2)
trig1 - first triangle of the facetrig2 - second triangle of the face| Method Detail |
|---|
public Triangle getTriangle1()
public void setTriangle1(Triangle triangle1)
triangle1 - first triangle of the meshpublic Triangle getTriangle2()
public void setTriangle2(Triangle triangle2)
triangle2 - second triangle of the mesh
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||