T
- A phantom type parameterPVectorReadable2DType<T>
, PVectorReadable3DType<T>
, PVectorReadable4DType<T>
, VectorReadable2DType
, VectorReadable3DType
, VectorReadable4DType
, PVectorStorageFloating2Type<T>
, PVectorStorageFloating3Type<T>
, PVectorStorageFloating4Type<T>
, VectorStorageFloating2Type
, VectorStorageFloating3Type
, VectorStorageFloating4Type
, VectorStorageType
public final class PVectorMutable4D<T> extends Object implements PVectorStorageFloating4Type<T>
Constructor | Description |
---|---|
PVectorMutable4D() |
Create a new vector.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
int |
hashCode() |
|
void |
setW(double in_w) |
Set the
w component. |
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 |
w() |
|
double |
x() |
|
double |
y() |
|
double |
z() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
setPVector2D, setPVector2F
setPVector3D, setPVector3F
setPVector4D, setPVector4F
setVector2D, setVector2F, setXY
setVector3D, setVector3F, setXYZ
setVector4D, setVector4F, setXYZW
public double x()
x
in interface VectorReadable2DType
x
componentpublic double y()
y
in interface VectorReadable2DType
y
componentpublic double w()
w
in interface VectorReadable4DType
w
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 componentpublic void setW(double in_w)
VectorStorageFloating4Type
w
component.setW
in interface VectorStorageFloating4Type
in_w
- The W componentCopyright © 2017 <code@io7m.com> http://io7m.com