|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.vecmath.Matrix4d
A double precision floating point 4 by 4 matrix. Primarily to support 3D rotations.
Field Summary | |
double |
m00
The first element of the first row. |
double |
m01
The second element of the first row. |
double |
m02
The third element of the first row. |
double |
m03
The fourth element of the first row. |
double |
m10
The first element of the second row. |
double |
m11
The second element of the second row. |
double |
m12
The third element of the second row. |
double |
m13
The fourth element of the second row. |
double |
m20
The first element of the third row. |
double |
m21
The second element of the third row. |
double |
m22
The third element of the third row. |
double |
m23
The fourth element of the third row. |
double |
m30
The first element of the fourth row. |
double |
m31
The second element of the fourth row. |
double |
m32
The third element of the fourth row. |
double |
m33
The fourth element of the fourth row. |
Constructor Summary | |
Matrix4d()
Constructs and initializes a Matrix4d to all zeros. |
|
Matrix4d(double[] v)
Constructs and initializes a Matrix4d from the specified 16 element array. |
|
Matrix4d(double m00,
double m01,
double m02,
double m03,
double m10,
double m11,
double m12,
double m13,
double m20,
double m21,
double m22,
double m23,
double m30,
double m31,
double m32,
double m33)
Constructs and initializes a Matrix4d from the specified 16 values. |
|
Matrix4d(Matrix3d m1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4f from the rotation matrix, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components of the matrix. |
|
Matrix4d(Matrix3f m1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the rotation matrix, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components of the matrix. |
|
Matrix4d(Matrix4d m1)
Constructs a new matrix with the same values as the Matrix4d parameter. |
|
Matrix4d(Matrix4f m1)
Constructs a new matrix with the same values as the Matrix4f parameter. |
|
Matrix4d(Quat4d q1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the quaternion, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components. |
|
Matrix4d(Quat4f q1,
Vector3d t1,
double s)
Constructs and initializes a Matrix4d from the quaternion, translation, and scale values; the scale is applied only to the rotational components of the matrix (upper 3x3) and not to the translational components. |
Method Summary | |
void |
add(double scalar)
Adds a scalar to each component of this matrix. |
void |
add(double scalar,
Matrix4d m1)
Adds a scalar to each component of the matrix m1 and places the result into this. |
void |
add(Matrix4d m1)
Sets the value of this matrix to sum of itself and matrix m1. |
void |
add(Matrix4d m1,
Matrix4d m2)
Sets the value of this matrix to the matrix sum of matrices m1 and m2. |
double |
determinant()
Computes the determinant of this matrix. |
boolean |
epsilonEquals(Matrix4d m1,
double epsilon)
Returns true if the L-infinite distance between this matrix and matrix m1 is less than or equal to the epsilon parameter, otherwise returns false. |
boolean |
epsilonEquals(Matrix4d m1,
float epsilon)
Deprecated. Use epsilonEquals(Matrix4d,double) instead |
boolean |
equals(Matrix4d m1)
Returns true if all of the data members of Matrix4d m1 are equal to the corresponding data members in this Matrix4d. |
boolean |
equals(java.lang.Object t1)
Returns true if the Object t1 is of type Matrix4d and all of the data members of t1 are equal to the corresponding data members in this Matrix4d. |
void |
get(Matrix3d m1)
Performs an SVD normalization of this matrix in order to acquire the normalized rotational component; the values are placed into the Matrix3d parameter. |
double |
get(Matrix3d m1,
Vector3d t1)
Performs an SVD normalization of this matrix to calculate the rotation as a 3x3 matrix, the translation, and the scale. |
void |
get(Matrix3f m1)
Performs an SVD normalization of this matrix in order to acquire the normalized rotational component; the values are placed into the Matrix3f parameter. |
double |
get(Matrix3f m1,
Vector3d t1)
Performs an SVD normalization of this matrix to calculate the rotation as a 3x3 matrix, the translation, and the scale. |
void |
get(Quat4d q1)
Performs an SVD normalization of q1 matrix in order to acquire the normalized rotational component; the values are placed into the Quat4d parameter. |
void |
get(Quat4f q1)
Performs an SVD normalization of this matrix in order to acquire the normalized rotational component; the values are placed into the Quat4f parameter. |
void |
get(Vector3d trans)
Retrieves the translational components of this matrix. |
void |
getColumn(int column,
double[] v)
Copies the matrix values in the specified column into the array parameter. |
void |
getColumn(int column,
Vector4d v)
Copies the matrix values in the specified column into the vector parameter. |
double |
getElement(int row,
int column)
Retrieves the value at the specified row and column of this matrix. |
void |
getRotationScale(Matrix3d m1)
Gets the upper 3x3 values of this matrix and places them into the matrix m1. |
void |
getRotationScale(Matrix3f m1)
Gets the upper 3x3 values of this matrix and places them into the matrix m1. |
void |
getRow(int row,
double[] v)
Copies the matrix values in the specified row into the array parameter. |
void |
getRow(int row,
Vector4d v)
Copies the matrix values in the specified row into the vector parameter. |
double |
getScale()
Performs an SVD normalization of this matrix to calculate and return the uniform scale factor. |
int |
hashCode()
Returns a hash code value based on the data values in this object. |
void |
invert()
Inverts this matrix in place. |
void |
invert(Matrix4d m1)
Sets the value of this matrix to the matrix inverse of the passed (user declared) matrix m1. |
void |
mul(double scalar)
Multiplies each element of this matrix by a scalar. |
void |
mul(double scalar,
Matrix4d m1)
Multiplies each element of matrix m1 by a scalar and places the result into this. |
void |
mul(Matrix4d m1)
Sets the value of this matrix to the result of multiplying itself with matrix m1. |
void |
mul(Matrix4d m1,
Matrix4d m2)
Sets the value of this matrix to the result of multiplying the two argument matrices together. |
void |
mulTransposeBoth(Matrix4d m1,
Matrix4d m2)
Multiplies the transpose of matrix m1 times the transpose of matrix m2, and places the result into this. |
void |
mulTransposeLeft(Matrix4d m1,
Matrix4d m2)
Multiplies the transpose of matrix m1 times matrix m2, and places the result into this. |
void |
mulTransposeRight(Matrix4d m1,
Matrix4d m2)
Multiplies matrix m1 times the transpose of matrix m2, and places the result into this. |
void |
negate()
Negates the value of this matrix: this = -this. |
void |
negate(Matrix4d m1)
Sets the value of this matrix equal to the negation of of the Matrix4d parameter. |
void |
rotX(double angle)
Sets the value of this matrix to a counter-clockwise rotation about the x axis. |
void |
rotY(double angle)
Sets the value of this matrix to a counter-clockwise rotation about the y axis. |
void |
rotZ(double angle)
Sets the value of this matrix to a counter-clockwise rotation about the z axis. |
void |
set(AxisAngle4d a1)
Sets the value of this matrix to the matrix conversion of the double precision axis and angle argument. |
void |
set(AxisAngle4f a1)
Sets the value of this matrix to the matrix conversion of the single precision axis and angle argument. |
void |
set(double scale)
Sets the value of this matrix to a scale matrix with the passed scale amount. |
void |
set(double[] m)
Sets the values in this Matrix4d equal to the row-major array parameter (ie, the first four elements of the array will be copied into the first row of this matrix, etc.). |
void |
set(double scale,
Vector3d v1)
Sets the value of this transform to a scale and translation matrix; the scale is not applied to the translation and all of the matrix values are modified. |
void |
set(Matrix3d m1)
Sets the rotational component (upper 3x3) of this matrix to the matrix values in the double precision Matrix3d argument; the other elements of this matrix are initialized as if this were an identity matrix (i.e., affine matrix with no translational component). |
void |
set(Matrix3d m1,
Vector3d t1,
double scale)
Sets the value of this matrix from the rotation expressed by the rotation matrix m1, the translation t1, and the scale factor. |
void |
set(Matrix3f m1)
Sets the rotational component (upper 3x3) of this matrix to the matrix values in the single precision Matrix3f argument; the other elements of this matrix are initialized as if this were an identity matrix (i.e., affine matrix with no translational component). |
void |
set(Matrix3f m1,
Vector3f t1,
float scale)
Sets the value of this matrix from the rotation expressed by the rotation matrix m1, the translation t1, and the scale factor. |
void |
set(Matrix4d m1)
Sets the value of this matrix to a copy of the passed matrix m1. |
void |
set(Matrix4f m1)
Sets the value of this matrix to a copy of the passed matrix m1. |
void |
set(Quat4d q1)
Sets the value of this matrix to the matrix conversion of the (double precision) quaternion argument. |
void |
set(Quat4d q1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed by the quaternion q1, the translation t1, and the scale s. |
void |
set(Quat4f q1)
Sets the value of this matrix to the matrix conversion of the single precision quaternion argument. |
void |
set(Quat4f q1,
Vector3d t1,
double s)
Sets the value of this matrix from the rotation expressed by the quaternion q1, the translation t1, and the scale s. |
void |
set(Quat4f q1,
Vector3f t1,
float s)
Sets the value of this matrix from the rotation expressed by the quaternion q1, the translation t1, and the scale s. |
void |
set(Vector3d v1)
Sets the value of this matrix to a translate matrix by the passed translation value. |
void |
set(Vector3d v1,
double scale)
Sets the value of this transform to a scale and translation matrix; the translation is scaled by the scale factor and all of the matrix values are modified. |
void |
setColumn(int column,
double[] v)
Sets the specified column of this matrix4d to the four values provided. |
void |
setColumn(int column,
double x,
double y,
double z,
double w)
Sets the specified column of this matrix4d to the four values provided. |
void |
setColumn(int column,
Vector4d v)
Sets the specified column of this matrix4d to the vector provided. |
void |
setElement(int row,
int column,
double value)
Sets the specified element of this matrix4f to the value provided. |
void |
setIdentity()
Sets this Matrix4d to identity. |
void |
setRotation(AxisAngle4d a1)
Sets the rotational component (upper 3x3) of this matrix to the matrix equivalent values of the axis-angle argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the matrix equivalent of the axis-angle, and then the scale is reapplied to the rotational components. |
void |
setRotation(Matrix3d m1)
Sets the rotational component (upper 3x3) of this matrix to the matrix values in the double precision Matrix3d argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the passed rotation components, and then the scale is reapplied to the rotational components. |
void |
setRotation(Matrix3f m1)
Sets the rotational component (upper 3x3) of this matrix to the matrix values in the single precision Matrix3f argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the passed rotation components, and then the scale is reapplied to the rotational components. |
void |
setRotation(Quat4d q1)
Sets the rotational component (upper 3x3) of this matrix to the matrix equivalent values of the quaternion argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the matrix equivalent of the quaternion, and then the scale is reapplied to the rotational components. |
void |
setRotation(Quat4f q1)
Sets the rotational component (upper 3x3) of this matrix to the matrix equivalent values of the quaternion argument; the other elements of this matrix are unchanged; a singular value decomposition is performed on this object's upper 3x3 matrix to factor out the scale, then this object's upper 3x3 matrix components are replaced by the matrix equivalent of the quaternion, and then the scale is reapplied to the rotational components. |
void |
setRotationScale(Matrix3d m1)
Replaces the upper 3x3 matrix values of this matrix with the values in the matrix m1. |
void |
setRotationScale(Matrix3f m1)
Replaces the upper 3x3 matrix values of this matrix with the values in the matrix m1. |
void |
setRow(int row,
double[] v)
Sets the specified row of this matrix4d to the four values provided. |
void |
setRow(int row,
double x,
double y,
double z,
double w)
Sets the specified row of this matrix4d to the four values provided. |
void |
setRow(int row,
Vector4d v)
Sets the specified row of this matrix4d to the Vector provided. |
void |
setScale(double scale)
Sets the scale component of the current matrix by factoring out the current scale (by doing an SVD) from the rotational component and multiplying by the new scale. |
void |
setTranslation(Vector3d trans)
Modifies the translational components of this matrix to the values of the Vector3d argument; the other values of this matrix are not modified. |
void |
setZero()
Sets this matrix to all zeros. |
void |
sub(Matrix4d m1)
Sets the value of this matrix to the matrix difference of itself and matrix m1 (this = this - m1). |
void |
sub(Matrix4d m1,
Matrix4d m2)
Sets the value of this matrix to the matrix difference of matrices m1 and m2. |
java.lang.String |
toString()
Returns a string that contains the values of this Matrix4d. |
void |
transform(Point3d point)
Transforms the point parameter with this Matrix4d and places the result back into point. |
void |
transform(Point3d point,
Point3d pointOut)
Transforms the point parameter with this Matrix4d and places the result into pointOut. |
void |
transform(Point3f point)
Transforms the point parameter with this Matrix4d and places the result back into point. |
void |
transform(Point3f point,
Point3f pointOut)
Transforms the point parameter with this Matrix4d and places the result into pointOut. |
void |
transform(Tuple4d vec)
Transform the vector vec using this Matrix4d and place the result back into vec. |
void |
transform(Tuple4d vec,
Tuple4d vecOut)
Transform the vector vec using this Matrix4d and place the result into vecOut. |
void |
transform(Tuple4f vec)
Transform the vector vec using this Transform and place the result back into vec. |
void |
transform(Tuple4f vec,
Tuple4f vecOut)
Transform the vector vec using this Matrix4d and place the result into vecOut. |
void |
transform(Vector3d normal)
Transforms the normal parameter by this transform and places the value back into normal. |
void |
transform(Vector3d normal,
Vector3d normalOut)
Transforms the normal parameter by this Matrix4d and places the value into normalOut. |
void |
transform(Vector3f normal)
Transforms the normal parameter by this transform and places the value back into normal. |
void |
transform(Vector3f normal,
Vector3f normalOut)
Transforms the normal parameter by this Matrix4d and places the value into normalOut. |
void |
transpose()
Sets the value of this matrix to its transpose. |
void |
transpose(Matrix4d m1)
Sets the value of this matrix to the transpose of the argument matrix |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public double m00
public double m01
public double m02
public double m03
public double m10
public double m11
public double m12
public double m13
public double m20
public double m21
public double m22
public double m23
public double m30
public double m31
public double m32
public double m33
Constructor Detail |
public Matrix4d(double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33)
m00
- the [0][0] elementm01
- the [0][1] elementm02
- the [0][2] elementm03
- the [0][3] elementm10
- the [1][0] elementm11
- the [1][1] elementm12
- the [1][2] elementm13
- the [1][3] elementm20
- the [2][0] elementm21
- the [2][1] elementm22
- the [2][2] elementm23
- the [2][3] elementm30
- the [3][0] elementm31
- the [3][1] elementm32
- the [3][2] elementm33
- the [3][3] elementpublic Matrix4d(double[] v)
v
- the array of length 16 containing in orderpublic Matrix4d(Quat4d q1, Vector3d t1, double s)
q1
- the quaternion value representing the rotational componentt1
- the translational component of the matrixs
- the scale value applied to the rotational componentspublic Matrix4d(Quat4f q1, Vector3d t1, double s)
q1
- the quaternion value representing the rotational componentt1
- the translational component of the matrixs
- the scale value applied to the rotational componentspublic Matrix4d(Matrix4d m1)
m1
- the source matrixpublic Matrix4d(Matrix4f m1)
m1
- the source matrixpublic Matrix4d(Matrix3f m1, Vector3d t1, double s)
m1
- the rotation matrix representing the rotational componentst1
- the translational components of the matrixs
- the scale value applied to the rotational componentspublic Matrix4d(Matrix3d m1, Vector3d t1, double s)
m1
- the rotation matrix representing the rotational componentst1
- the translational components of the matrixs
- the scale value applied to the rotational componentspublic Matrix4d()
Method Detail |
public java.lang.String toString()
public final void setIdentity()
public final void setElement(int row, int column, double value)
row
- the row number to be modified (zero indexed)column
- the column number to be modified (zero indexed)value
- the new valuepublic final double getElement(int row, int column)
row
- the row number to be retrieved (zero indexed)column
- the column number to be retrieved (zero indexed)public final void getRow(int row, Vector4d v)
row
- the matrix rowv
- the vector into which the matrix row values will be copiedpublic final void getRow(int row, double[] v)
row
- the matrix rowv
- the array into which the matrix row values will be copiedpublic final void getColumn(int column, Vector4d v)
column
- the matrix columnv
- the vector into which the matrix column values will be copiedpublic final void getColumn(int column, double[] v)
column
- the matrix columnv
- the array into which the matrix column values will be copiedpublic final void get(Matrix3d m1)
m1
- the matrix into which the rotational component is placedpublic final void get(Matrix3f m1)
m1
- the matrix into which the rotational component is placedpublic final double get(Matrix3d m1, Vector3d t1)
m1
- the normalized matrix representing the rotationt1
- the translation componentpublic final double get(Matrix3f m1, Vector3d t1)
m1
- the normalized matrix representing the rotationt1
- the translation componentpublic final void get(Quat4f q1)
q1
- quaternion into which the rotation component is placedpublic final void get(Quat4d q1)
q1
- the quaternion into which the rotation component is placedpublic final void get(Vector3d trans)
trans
- the vector that will receive the translational componentpublic final void getRotationScale(Matrix3f m1)
m1
- the matrix that will hold the valuespublic final void getRotationScale(Matrix3d m1)
m1
- the matrix that will hold the valuespublic final double getScale()
public final void setRotationScale(Matrix3d m1)
m1
- the matrix that will be the new upper 3x3public final void setRotationScale(Matrix3f m1)
m1
- the matrix that will be the new upper 3x3public final void setScale(double scale)
scale
- the new scale amountpublic final void setRow(int row, double x, double y, double z, double w)
row
- the row number to be modified (zero indexed)x
- the first column elementy
- the second column elementz
- the third column elementw
- the fourth column elementpublic final void setRow(int row, Vector4d v)
row
- the row number to be modified (zero indexed)v
- the replacement rowpublic final void setRow(int row, double[] v)
row
- the row number to be modified (zero indexed)v
- the replacement rowpublic final void setColumn(int column, double x, double y, double z, double w)
column
- the column number to be modified (zero indexed)x
- the first row elementy
- the second row elementz
- the third row elementw
- the fourth row elementpublic final void setColumn(int column, Vector4d v)
column
- the column number to be modified (zero indexed)v
- the replacement columnpublic final void setColumn(int column, double[] v)
column
- the column number to be modified (zero indexed)v
- the replacement columnpublic final void add(double scalar)
scalar
- the scalar adderpublic final void add(double scalar, Matrix4d m1)
scalar
- the scalar adderm1
- the original matrix valuespublic final void add(Matrix4d m1, Matrix4d m2)
m1
- the first matrixm2
- the second matrixpublic final void add(Matrix4d m1)
m1
- the other matrixpublic final void sub(Matrix4d m1, Matrix4d m2)
m1
- the first matrixm2
- the second matrixpublic final void sub(Matrix4d m1)
m1
- the other matrixpublic final void transpose()
public final void transpose(Matrix4d m1)
m1
- the matrix to be transposedpublic final void set(double[] m)
m
- the double precision array of length 16public final void set(Matrix3f m1)
m1
- the double precision 3x3 matrixpublic final void set(Matrix3d m1)
m1
- the double precision 3x3 matrixpublic final void set(Quat4d q1)
q1
- the quaternion to be convertedpublic final void set(AxisAngle4d a1)
a1
- the axis and angle to be convertedpublic final void set(Quat4f q1)
q1
- the quaternion to be convertedpublic final void set(AxisAngle4f a1)
a1
- the axis and angle to be convertedpublic final void set(Quat4d q1, Vector3d t1, double s)
q1
- the rotation expressed as a quaterniont1
- the translations
- the scale valuepublic final void set(Quat4f q1, Vector3d t1, double s)
q1
- the rotation expressed as a quaterniont1
- the translations
- the scale valuepublic final void set(Quat4f q1, Vector3f t1, float s)
q1
- the rotation expressed as a quaterniont1
- the translations
- the scale valuepublic final void set(Matrix4f m1)
m1
- the matrix4fpublic final void set(Matrix4d m1)
m1
- the matrix to be copiedpublic final void invert(Matrix4d m1)
m1
- the matrix to be invertedpublic final void invert()
public final double determinant()
public final void set(double scale)
scale
- the scale factor for the matrixpublic final void set(Vector3d v1)
v1
- the translation amountpublic final void set(double scale, Vector3d v1)
scale
- the scale factor for the matrixv1
- the translation amountpublic final void set(Vector3d v1, double scale)
v1
- the translation amountscale
- the scale factor for the matrixpublic final void set(Matrix3f m1, Vector3f t1, float scale)
m1
- the rotation componentt1
- the translation componentscale
- the scale componentpublic final void set(Matrix3d m1, Vector3d t1, double scale)
m1
- the rotation componentt1
- the translation componentscale
- the scale componentpublic final void setTranslation(Vector3d trans)
trans
- the translational componentpublic final void rotX(double angle)
angle
- the angle to rotate about the X axis in radianspublic final void rotY(double angle)
angle
- the angle to rotate about the Y axis in radianspublic final void rotZ(double angle)
angle
- the angle to rotate about the Z axis in radianspublic final void mul(double scalar)
scalar
- the scalar multiplier.public final void mul(double scalar, Matrix4d m1)
scalar
- the scalar multiplierm1
- the original matrixpublic final void mul(Matrix4d m1)
m1
- the other matrixpublic final void mul(Matrix4d m1, Matrix4d m2)
m1
- the first matrixm2
- the second matrixpublic final void mulTransposeBoth(Matrix4d m1, Matrix4d m2)
m1
- the matrix on the left hand side of the multiplicationm2
- the matrix on the right hand side of the multiplicationpublic final void mulTransposeRight(Matrix4d m1, Matrix4d m2)
m1
- the matrix on the left hand side of the multiplicationm2
- the matrix on the right hand side of the multiplicationpublic final void mulTransposeLeft(Matrix4d m1, Matrix4d m2)
m1
- the matrix on the left hand side of the multiplicationm2
- the matrix on the right hand side of the multiplicationpublic boolean equals(Matrix4d m1)
m1
- the matrix with which the comparison is madepublic boolean equals(java.lang.Object t1)
t1
- the matrix with which the comparison is madepublic boolean epsilonEquals(Matrix4d m1, float epsilon)
public boolean epsilonEquals(Matrix4d m1, double epsilon)
m1
- the matrix to be compared to this matrixepsilon
- the threshold valuepublic int hashCode()
public final void transform(Tuple4d vec, Tuple4d vecOut)
vec
- the double precision vector to be transformedvecOut
- the vector into which the transformed values are placedpublic final void transform(Tuple4d vec)
vec
- the double precision vector to be transformedpublic final void transform(Tuple4f vec, Tuple4f vecOut)
vec
- the single precision vector to be transformedvecOut
- the vector into which the transformed values are placedpublic final void transform(Tuple4f vec)
vec
- the single precision vector to be transformedpublic final void transform(Point3d point, Point3d pointOut)
point
- the input point to be transformed.pointOut
- the transformed pointpublic final void transform(Point3d point)
point
- the input point to be transformed.public final void transform(Point3f point, Point3f pointOut)
point
- the input point to be transformed.pointOut
- the transformed pointpublic final void transform(Point3f point)
point
- the input point to be transformed.public final void transform(Vector3d normal, Vector3d normalOut)
normal
- the input normal to be transformed.normalOut
- the transformed normalpublic final void transform(Vector3d normal)
normal
- the input normal to be transformed.public final void transform(Vector3f normal, Vector3f normalOut)
normal
- the input normal to be transformed.normalOut
- the transformed normalpublic final void transform(Vector3f normal)
normal
- the input normal to be transformed.public final void setRotation(Matrix3d m1)
m1
- double precision 3x3 matrixpublic final void setRotation(Matrix3f m1)
m1
- single precision 3x3 matrixpublic final void setRotation(Quat4f q1)
q1
- the quaternion that specifies the rotationpublic final void setRotation(Quat4d q1)
q1
- the quaternion that specifies the rotationpublic final void setRotation(AxisAngle4d a1)
a1
- the axis-angle to be converted (x, y, z, angle)public final void setZero()
public final void negate()
public final void negate(Matrix4d m1)
m1
- the source matrix
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |