Modifier and Type | Field and Description |
---|---|
double |
x
The component x.
|
double |
y
The component y.
|
double |
z
The component z.
|
Constructor and Description |
---|
Tuple3()
Constructs a tuple with all components equal to zero.
|
Tuple3(double x,
double y,
double z)
Constructs a tuple with specified components.
|
Tuple3(Tuple3 t)
Constructs a copy of the specified tuple.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public double x
public double y
public double z
public Tuple3()
public Tuple3(double x, double y, double z)
x
- the x component.y
- the y component.z
- the z component.public Tuple3(Tuple3 t)
t
- the tuple.