public interface Vector3D extends Vector, Triple<java.lang.Double,java.lang.Double,java.lang.Double>
Vector.IndexValueConsumer, Vector.IndexValueTransform
VectorSpace.Entry
Modifier and Type | Method and Description |
---|---|
double |
getX()
Gets the value of the first dimension (x).
|
double |
getY()
Gets the value of the second dimension (y).
|
double |
getZ()
Gets the value of the third dimension (z).
|
void |
setX(double x)
Sets the value of the first dimension (x).
|
void |
setXYZ(double x,
double y,
double z)
Sets the value of all three dimensions of this vector.
|
void |
setY(double y)
Sets the value of the second dimension (y).
|
void |
setZ(double z)
Sets the value of the third dimension (z).
|
assertDimensionalityEquals, assertSameDimensionality, checkSameDimensionality, clone, countNonZeros, decrement, decrement, dotDivide, dotDivideEquals, forEachElement, forEachEntry, forEachNonZero, get, getDimensionality, getElement, getEntryCount, getVectorFactory, increment, increment, isSparse, outerProduct, set, setElement, stack, subVector, times, toArray, toString, toString, toString, transform, transform, transformEquals, transformEquals, transformNonZeros, transformNonZeros, transformNonZerosEquals, transformNonZerosEquals, valuesAsList
angle, cosine, dot, dotProduct, euclideanDistance, euclideanDistanceSquared, getMaxValue, getMinValue, isUnitVector, isUnitVector, norm, norm1, norm2, norm2Squared, normInfinity, sum, unitVector, unitVectorEquals
dotTimes, dotTimesEquals, equals, equals, isZero, isZero, minus, minusEquals, negative, negativeEquals, plus, plusEquals, scale, scaledMinus, scaledMinusEquals, scaledPlus, scaledPlusEquals, scaleEquals, zero
convertFromVector, convertToVector
double getX()
void setX(double x)
x
- The value for the first dimension (x).double getY()
void setY(double y)
y
- The value of the second dimension (y).double getZ()
void setZ(double z)
z
- The value of the third dimension (z).void setXYZ(double x, double y, double z)
x
- The value of the first dimension (x).y
- The value of the second dimension (y).z
- The value of the third dimension (z).