|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mines.jtk.sgl.Tuple4
public class Tuple4
A tuple with four components x, y, z, and w.
| Field Summary | |
|---|---|
double |
w
The component w. |
double |
x
The component x. |
double |
y
The component y. |
double |
z
The component z. |
| Constructor Summary | |
|---|---|
Tuple4()
Constructs a tuple with all components equal to zero. |
|
Tuple4(double x,
double y,
double z,
double w)
Constructs a tuple with specified components. |
|
Tuple4(Tuple4 t)
Constructs a copy of the specified tuple. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double x
public double y
public double z
public double w
| Constructor Detail |
|---|
public Tuple4()
public Tuple4(double x,
double y,
double z,
double w)
x - the x component.y - the y component.z - the z component.w - the w component.public Tuple4(Tuple4 t)
t - the tuple.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||