public interface VectorWritable2DType
'Write' interface to two-dimensional vectors with double
elements.
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom2D(VectorReadable2DType in_v)
Set the current vector to the contents of the input vector.
|
void |
set2D(double x,
double y)
Set the current
x and y values of the current vector. |
void |
setXD(double x)
Set the current
x value of the current vector. |
void |
setYD(double y)
Set the current
y value of the current vector. |
void copyFrom2D(VectorReadable2DType in_v)
in_v - The input vectorvoid set2D(double x,
double y)
x and y values of the current vector.x - The new x value.y - The new y value.void setXD(double x)
x value of the current vector.x - The new x value.void setYD(double y)
y value of the current vector.y - The new y value.Copyright © 2017 <code@io7m.com> http://io7m.com