Uses of Class
omix.util.math.vector.Vec4d
Package | Description |
---|---|
omix.util.math.vector |
This package contains classes for linear algebra.
|
-
Uses of Vec4d in omix.util.math.vector
Methods in omix.util.math.vector that return Vec4d Modifier and Type Method Description Vec4d
Vec4d. copy()
Clones the coordinateVec4d
Vec4d. cross(Vec4d c)
Cross productVec4d
Matrix4d. dot(Vec4d vector)
Product with a vector.Vec4d
Vec4d. dot(double multiplicator)
Vec4d
Vec4d. minus(Vec4d cc)
Vec4d
Vec4d. negate()
Vec4d
Vec4d. normalize()
Vec4d
Vec4d. plus(Vec4d cc)
Methods in omix.util.math.vector with parameters of type Vec4d Modifier and Type Method Description int
Vec4d. closest(Vec4d[] vecs)
Returns the index of the vector closest to this.Vec4d
Vec4d. cross(Vec4d c)
Cross productVec4d
Matrix4d. dot(Vec4d vector)
Product with a vector.double
Vec4d. dot(Vec4d multiplicator)
double
Vec4d. getAngle(Vec4d coordinate)
boolean
Vec4d. isComplementOf(Vec4d cc)
Determines if this is complement of given vector.Vec4d
Vec4d. minus(Vec4d cc)
Vec4d
Vec4d. plus(Vec4d cc)
void
Vec4d. set(Vec4d c)
Constructors in omix.util.math.vector with parameters of type Vec4d Constructor Description Matrix4d(Vec4d pos)
Transpation matrix.
The matrix has the form:
|1, 0, 0, pos.x|
|0, 1, 0, pos.y|
|0, 0, 1, pos.z|
|0, 0, 0, pos.w|Matrix4d(Vec4d axis, double angle)
Initializes a rotation matrix about the given axis with the given angle.Matrix4d(Vec4d xAxis, Vec4d yAxis, Vec4d zAxis)
Rotation matrix.
The matrix has the form:
|xAxis.x, yAxis.x, zAxis.x, 0|
|xAxis.y, yAxis.y, zAxis.y, 0|
|xAxis.z, yAxis.z, zAxis.z, 0|
|xAxis.w, yAxis.w, zAxis.w, 1|Vec4d(Vec4d vector)