Interface VectorStorageFloating3Type
- All Superinterfaces:
VectorReadable2DType,VectorReadable3DType,VectorStorageFloating2Type,VectorStorageType
- All Known Subinterfaces:
PVectorByteBufferedFloating3Type<T>,PVectorByteBufferedFloating4Type<T>,PVectorStorageFloating3Type<T>,PVectorStorageFloating4Type<T>,VectorByteBufferedFloating3Type,VectorByteBufferedFloating4Type,VectorStorageFloating4Type
- All Known Implementing Classes:
PVectorByteBufferedFloating3s16,PVectorByteBufferedFloating3s32,PVectorByteBufferedFloating3s64,PVectorByteBufferedFloating4s16,PVectorByteBufferedFloating4s32,PVectorByteBufferedFloating4s64,PVectorMutable3D,PVectorMutable4D,VectorByteBufferedFloating3s16,VectorByteBufferedFloating3s32,VectorByteBufferedFloating3s64,VectorByteBufferedFloating4s16,VectorByteBufferedFloating4s32,VectorByteBufferedFloating4s64,VectorMutable3D,VectorMutable4D
public interface VectorStorageFloating3Type extends VectorReadable3DType, VectorStorageFloating2Type
The type of mutable 3D floating point number vectors.
-
Method Summary
Modifier and Type Method Description default voidsetVector3D(Vector3D v)Set the components from the given vector.default voidsetVector3F(Vector3F v)Set the components from the given vector.default voidsetXYZ(double x, double y, double z)Set thex,y,zcomponents.voidsetZ(double z)Set thezcomponent.Methods inherited from interface com.io7m.jtensors.core.unparameterized.vectors.VectorReadable2DType
x, yMethods inherited from interface com.io7m.jtensors.core.unparameterized.vectors.VectorReadable3DType
zMethods inherited from interface com.io7m.jtensors.storage.api.unparameterized.vectors.VectorStorageFloating2Type
setVector2D, setVector2F, setX, setXY, setY
-
Method Details
-
setVector3D
Set the components from the given vector.- Parameters:
v- The source vector
-
setVector3F
Set the components from the given vector.- Parameters:
v- The source vector
-
setZ
void setZ(double z)Set thezcomponent.- Parameters:
z- The Z component
-
setXYZ
default void setXYZ(double x, double y, double z)Set thex,y,zcomponents.- Parameters:
x- The X componenty- The Y componentz- The Z component
-