Package javax.vecmath
Class Matrix4d
java.lang.Object
javax.vecmath.Matrix4d
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Matrix4d
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Matrix4d()
Matrix4d(double[] doubleArray)
Matrix4d(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16)
Matrix4d(Matrix3d matrix3d, Vector3d vector3d, double double1)
Matrix4d(Matrix3f matrix3f, Vector3d vector3d, double double1)
Matrix4d(Matrix4d matrix4d)
Matrix4d(Matrix4f matrix4f)
Matrix4d(Quat4d quat4d, Vector3d vector3d, double double1)
Matrix4d(Quat4f quat4f, Vector3d vector3d, double double1)
-
Method Summary
Modifier and Type Method Description void
add(double double1)
void
add(double double1, Matrix4d matrix4d)
void
add(Matrix4d matrix4d)
void
add(Matrix4d matrix4d, Matrix4d matrix4d2)
java.lang.Object
clone()
double
determinant()
boolean
epsilonEquals(Matrix4d matrix4d, double double1)
boolean
epsilonEquals(Matrix4d matrix4d, float float1)
boolean
equals(java.lang.Object object)
boolean
equals(Matrix4d matrix4d)
void
get(Matrix3d matrix3d)
double
get(Matrix3d matrix3d, Vector3d vector3d)
void
get(Matrix3f matrix3f)
double
get(Matrix3f matrix3f, Vector3d vector3d)
void
get(Quat4d quat4d)
void
get(Quat4f quat4f)
void
get(Vector3d vector3d)
void
getColumn(int int1, double[] doubleArray)
void
getColumn(int int1, Vector4d vector4d)
double
getElement(int int1, int int2)
double
getM00()
double
getM01()
double
getM02()
double
getM03()
double
getM10()
double
getM11()
double
getM12()
double
getM13()
double
getM20()
double
getM21()
double
getM22()
double
getM23()
double
getM30()
double
getM31()
double
getM32()
double
getM33()
void
getRotationScale(Matrix3d matrix3d)
void
getRotationScale(Matrix3f matrix3f)
void
getRow(int int1, double[] doubleArray)
void
getRow(int int1, Vector4d vector4d)
double
getScale()
int
hashCode()
void
invert()
void
invert(Matrix4d matrix4d)
void
mul(double double1)
void
mul(double double1, Matrix4d matrix4d)
void
mul(Matrix4d matrix4d)
void
mul(Matrix4d matrix4d, Matrix4d matrix4d2)
void
mulTransposeBoth(Matrix4d matrix4d, Matrix4d matrix4d2)
void
mulTransposeLeft(Matrix4d matrix4d, Matrix4d matrix4d2)
void
mulTransposeRight(Matrix4d matrix4d, Matrix4d matrix4d2)
void
negate()
void
negate(Matrix4d matrix4d)
void
rotX(double double1)
void
rotY(double double1)
void
rotZ(double double1)
void
set(double double1)
void
set(double[] doubleArray)
void
set(double double1, Vector3d vector3d)
void
set(AxisAngle4d axisAngle4d)
void
set(AxisAngle4f axisAngle4f)
void
set(Matrix3d matrix3d)
void
set(Matrix3d matrix3d, Vector3d vector3d, double double1)
void
set(Matrix3f matrix3f)
void
set(Matrix3f matrix3f, Vector3f vector3f, float float1)
void
set(Matrix4d matrix4d)
void
set(Matrix4f matrix4f)
void
set(Quat4d quat4d)
void
set(Quat4d quat4d, Vector3d vector3d, double double1)
void
set(Quat4f quat4f)
void
set(Quat4f quat4f, Vector3d vector3d, double double1)
void
set(Quat4f quat4f, Vector3f vector3f, float float1)
void
set(Vector3d vector3d)
void
set(Vector3d vector3d, double double1)
void
setColumn(int int1, double[] doubleArray)
void
setColumn(int int1, double double1, double double2, double double3, double double4)
void
setColumn(int int1, Vector4d vector4d)
void
setElement(int int1, int int2, double double1)
void
setIdentity()
void
setM00(double double1)
void
setM01(double double1)
void
setM02(double double1)
void
setM03(double double1)
void
setM10(double double1)
void
setM11(double double1)
void
setM12(double double1)
void
setM13(double double1)
void
setM20(double double1)
void
setM21(double double1)
void
setM22(double double1)
void
setM23(double double1)
void
setM30(double double1)
void
setM31(double double1)
void
setM32(double double1)
void
setM33(double double1)
void
setRotation(AxisAngle4d axisAngle4d)
void
setRotation(Matrix3d matrix3d)
void
setRotation(Matrix3f matrix3f)
void
setRotation(Quat4d quat4d)
void
setRotation(Quat4f quat4f)
void
setRotationScale(Matrix3d matrix3d)
void
setRotationScale(Matrix3f matrix3f)
void
setRow(int int1, double[] doubleArray)
void
setRow(int int1, double double1, double double2, double double3, double double4)
void
setRow(int int1, Vector4d vector4d)
void
setScale(double double1)
void
setTranslation(Vector3d vector3d)
void
setZero()
void
sub(Matrix4d matrix4d)
void
sub(Matrix4d matrix4d, Matrix4d matrix4d2)
java.lang.String
toString()
void
transform(Point3d point3d)
void
transform(Point3d point3d, Point3d point3d2)
void
transform(Point3f point3f)
void
transform(Point3f point3f, Point3f point3f2)
void
transform(Tuple4d tuple4d)
void
transform(Tuple4d tuple4d, Tuple4d tuple4d2)
void
transform(Tuple4f tuple4f)
void
transform(Tuple4f tuple4f, Tuple4f tuple4f2)
void
transform(Vector3d vector3d)
void
transform(Vector3d vector3d, Vector3d vector3d2)
void
transform(Vector3f vector3f)
void
transform(Vector3f vector3f, Vector3f vector3f2)
void
transpose()
void
transpose(Matrix4d matrix4d)
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
m00
public double m00 -
m01
public double m01 -
m02
public double m02 -
m03
public double m03 -
m10
public double m10 -
m11
public double m11 -
m12
public double m12 -
m13
public double m13 -
m20
public double m20 -
m21
public double m21 -
m22
public double m22 -
m23
public double m23 -
m30
public double m30 -
m31
public double m31 -
m32
public double m32 -
m33
public double m33
-
-
Constructor Details
-
Matrix4d
public Matrix4d(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9, double double10, double double11, double double12, double double13, double double14, double double15, double double16) -
Matrix4d
public Matrix4d(double[] doubleArray) -
Matrix4d
-
Matrix4d
-
Matrix4d
-
Matrix4d
-
Matrix4d
-
Matrix4d
-
Matrix4d
public Matrix4d()
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setIdentity
public final void setIdentity() -
setElement
public final void setElement(int int1, int int2, double double1) -
getElement
public final double getElement(int int1, int int2) -
getRow
-
getRow
public final void getRow(int int1, double[] doubleArray) -
getColumn
-
getColumn
public final void getColumn(int int1, double[] doubleArray) -
get
-
get
-
get
-
get
-
get
-
get
-
get
-
getRotationScale
-
getRotationScale
-
getScale
public final double getScale() -
setRotationScale
-
setRotationScale
-
setScale
public final void setScale(double double1) -
setRow
public final void setRow(int int1, double double1, double double2, double double3, double double4) -
setRow
-
setRow
public final void setRow(int int1, double[] doubleArray) -
setColumn
public final void setColumn(int int1, double double1, double double2, double double3, double double4) -
setColumn
-
setColumn
public final void setColumn(int int1, double[] doubleArray) -
add
public final void add(double double1) -
add
-
add
-
add
-
sub
-
sub
-
transpose
public final void transpose() -
transpose
-
set
public final void set(double[] doubleArray) -
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
invert
-
invert
public final void invert() -
determinant
public final double determinant() -
set
public final void set(double double1) -
set
-
set
-
set
-
set
-
set
-
setTranslation
-
rotX
public final void rotX(double double1) -
rotY
public final void rotY(double double1) -
rotZ
public final void rotZ(double double1) -
mul
public final void mul(double double1) -
mul
-
mul
-
mul
-
mulTransposeBoth
-
mulTransposeRight
-
mulTransposeLeft
-
equals
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
epsilonEquals
-
epsilonEquals
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
transform
-
transform
-
transform
-
transform
-
transform
-
transform
-
transform
-
transform
-
transform
-
transform
-
transform
-
transform
-
setRotation
-
setRotation
-
setRotation
-
setRotation
-
setRotation
-
setZero
public final void setZero() -
negate
public final void negate() -
negate
-
clone
public java.lang.Object clone()- Overrides:
clone
in classjava.lang.Object
-
getM00
public final double getM00() -
setM00
public final void setM00(double double1) -
getM01
public final double getM01() -
setM01
public final void setM01(double double1) -
getM02
public final double getM02() -
setM02
public final void setM02(double double1) -
getM10
public final double getM10() -
setM10
public final void setM10(double double1) -
getM11
public final double getM11() -
setM11
public final void setM11(double double1) -
getM12
public final double getM12() -
setM12
public final void setM12(double double1) -
getM20
public final double getM20() -
setM20
public final void setM20(double double1) -
getM21
public final double getM21() -
setM21
public final void setM21(double double1) -
getM22
public final double getM22() -
setM22
public final void setM22(double double1) -
getM03
public final double getM03() -
setM03
public final void setM03(double double1) -
getM13
public final double getM13() -
setM13
public final void setM13(double double1) -
getM23
public final double getM23() -
setM23
public final void setM23(double double1) -
getM30
public final double getM30() -
setM30
public final void setM30(double double1) -
getM31
public final double getM31() -
setM31
public final void setM31(double double1) -
getM32
public final double getM32() -
setM32
public final void setM32(double double1) -
getM33
public final double getM33() -
setM33
public final void setM33(double double1)
-