public interface VectorWritable4DType extends VectorWritable3DType
'Write' interface to four-dimensional vectors with double
elements.
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom4D(VectorReadable4DType in_v)
Set the current vector to the contents of the input vector.
|
void |
set4D(double x,
double y,
double z,
double w)
Set the current
x, y, z and w values of the
current vector. |
void |
setWD(double w)
Set the current
w value of the current vector. |
copyFrom3D, set3D, setZDcopyFrom2D, set2D, setXD, setYDvoid copyFrom4D(VectorReadable4DType in_v)
in_v - The input vectorvoid set4D(double x,
double y,
double z,
double w)
x, y, z and w values of the
current vector.x - The new x value.y - The new y value.z - The new z value.w - The new w value.void setWD(double w)
w value of the current vector.w - The new w value.Copyright © 2015 <code@io7m.com> http://io7m.com