VectorReadable2DType, VectorStorageFloating2Type, VectorStorageTypepublic final class VectorMutable2D extends Object implements VectorStorageFloating2Type
| Constructor | Description |
|---|---|
VectorMutable2D() |
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, waitsetVector2D, 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