|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sygem.jazz3d3.Object3d
com.sygem.jazz3d3.primitive.Quad3d
A simple quadrilateral (4-sided) primitive. This object consists of just one face.
Object3d
Field Summary |
Fields inherited from class com.sygem.jazz3d3.Object3d |
USE_ONE_RENDERER, WRAP_FRONT, WRAP_TOP |
Constructor Summary | |
Quad3d(double x,
double y,
double z)
Default constructor. |
Method Summary | |
void |
setVertex1(double x,
double y,
double z)
Sets the co-ordinates of the first vertex of the quad. |
void |
setVertex2(double x,
double y,
double z)
Sets the co-ordinates of the second vertex of the quad. |
void |
setVertex3(double x,
double y,
double z)
Sets the co-ordinates of the third vertex of the quad. |
void |
setVertex4(double x,
double y,
double z)
Sets the co-ordinates of the fourth vertex of the quad. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Quad3d(double x, double y, double z)
x
- The x coordinate of the center point of the objecty
- The y coordinate of the center point of the objectz
- The z coordinate of the center point of the objectMethod Detail |
public final void setVertex1(double x, double y, double z)
x
- The new x position of the vertexy
- The new y position of the vertexz
- The new z position of the vertexpublic final void setVertex2(double x, double y, double z)
x
- The new x position of the vertexy
- The new y position of the vertexz
- The new z position of the vertexpublic final void setVertex3(double x, double y, double z)
x
- The new x position of the vertexy
- The new y position of the vertexz
- The new z position of the vertexpublic final void setVertex4(double x, double y, double z)
x
- The new x position of the vertexy
- The new y position of the vertexz
- The new z position of the vertex
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |