Class VectorMutable3D
java.lang.Object
com.io7m.jtensors.storage.heap.VectorMutable3D
- All Implemented Interfaces:
VectorReadable2DType, VectorReadable3DType, VectorStorageFloating2Type, VectorStorageFloating3Type, VectorStorageType
A heap-based vector.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface VectorStorageFloating2Type
setVector2D, setVector2F, setXYMethods inherited from interface VectorStorageFloating3Type
setVector3D, setVector3F, setXYZ
-
Constructor Details
-
VectorMutable3D
public VectorMutable3D()Create a new vector.
-
-
Method Details
-
equals
-
hashCode
-
toString
-
x
public double x()- Specified by:
xin interfaceVectorReadable2DType- Returns:
- The
xcomponent
-
y
public double y()- Specified by:
yin interfaceVectorReadable2DType- Returns:
- The
ycomponent
-
z
public double z()- Specified by:
zin interfaceVectorReadable3DType- Returns:
- The
zcomponent
-
setZ
public void setZ(double in_z) Description copied from interface:VectorStorageFloating3TypeSet thezcomponent.- Specified by:
setZin interfaceVectorStorageFloating3Type- Parameters:
in_z- The Z component
-
setX
public void setX(double in_x) Description copied from interface:VectorStorageFloating2TypeSet thexcomponent.- Specified by:
setXin interfaceVectorStorageFloating2Type- Parameters:
in_x- The X component
-
setY
public void setY(double in_y) Description copied from interface:VectorStorageFloating2TypeSet theYcomponent.- Specified by:
setYin interfaceVectorStorageFloating2Type- Parameters:
in_y- The Y component
-