VectorReadable2DType
, VectorReadable3DType
, VectorStorageFloating2Type
, VectorStorageFloating3Type
, VectorStorageType
public final class VectorMutable3D extends Object implements VectorStorageFloating3Type
Constructor | Description |
---|---|
VectorMutable3D() |
Create a new vector.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
int |
hashCode() |
|
void |
setX(double in_x) |
Set the
x component. |
void |
setY(double in_y) |
Set the
Y component. |
void |
setZ(double in_z) |
Set the
z component. |
String |
toString() |
|
double |
x() |
|
double |
y() |
|
double |
z() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setVector2D, setVector2F, setXY
setVector3D, setVector3F, setXYZ
public double x()
x
in interface VectorReadable2DType
x
componentpublic double y()
y
in interface VectorReadable2DType
y
componentpublic double z()
z
in interface VectorReadable3DType
z
componentpublic void setZ(double in_z)
VectorStorageFloating3Type
z
component.setZ
in interface VectorStorageFloating3Type
in_z
- The Z componentpublic void setX(double in_x)
VectorStorageFloating2Type
x
component.setX
in interface VectorStorageFloating2Type
in_x
- The X componentpublic void setY(double in_y)
VectorStorageFloating2Type
Y
component.setY
in interface VectorStorageFloating2Type
in_y
- The Y componentCopyright © 2017 <code@io7m.com> http://io7m.com