T - A phantom type parameterPVectorReadable2DType<T>, VectorReadable2DType, PVectorStorageFloating2Type<T>, VectorStorageFloating2Type, VectorStorageTypepublic final class PVectorMutable2D<T> extends Object implements PVectorStorageFloating2Type<T>
| Constructor | Description |
|---|---|
PVectorMutable2D() |
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. |
String |
toString() |
|
double |
x() |
|
double |
y() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitsetPVector2D, setPVector2FsetVector2D, setVector2F, setXYpublic double x()
x in interface VectorReadable2DTypex componentpublic double y()
y in interface VectorReadable2DTypey componentpublic void setX(double in_x)
VectorStorageFloating2Typex component.setX in interface VectorStorageFloating2Typein_x - The X componentpublic void setY(double in_y)
VectorStorageFloating2TypeY component.setY in interface VectorStorageFloating2Typein_y - The Y componentCopyright © 2017 <code@io7m.com> http://io7m.com