Package javax.vecmath
Class Matrix3d
java.lang.Object
javax.vecmath.Matrix3d
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
public class Matrix3d
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
add(double double1)
void
add(double double1, Matrix3d matrix3d)
void
add(Matrix3d matrix3d)
void
add(Matrix3d matrix3d, Matrix3d matrix3d2)
java.lang.Object
clone()
double
determinant()
boolean
epsilonEquals(Matrix3d matrix3d, double double1)
boolean
equals(java.lang.Object object)
boolean
equals(Matrix3d matrix3d)
void
getColumn(int int1, double[] doubleArray)
void
getColumn(int int1, Vector3d vector3d)
double
getElement(int int1, int int2)
double
getM00()
double
getM01()
double
getM02()
double
getM10()
double
getM11()
double
getM12()
double
getM20()
double
getM21()
double
getM22()
void
getRow(int int1, double[] doubleArray)
void
getRow(int int1, Vector3d vector3d)
double
getScale()
int
hashCode()
void
invert()
void
invert(Matrix3d matrix3d)
void
mul(double double1)
void
mul(double double1, Matrix3d matrix3d)
void
mul(Matrix3d matrix3d)
void
mul(Matrix3d matrix3d, Matrix3d matrix3d2)
void
mulNormalize(Matrix3d matrix3d)
void
mulNormalize(Matrix3d matrix3d, Matrix3d matrix3d2)
void
mulTransposeBoth(Matrix3d matrix3d, Matrix3d matrix3d2)
void
mulTransposeLeft(Matrix3d matrix3d, Matrix3d matrix3d2)
void
mulTransposeRight(Matrix3d matrix3d, Matrix3d matrix3d2)
void
negate()
void
negate(Matrix3d matrix3d)
void
normalize()
void
normalize(Matrix3d matrix3d)
void
normalizeCP()
void
normalizeCP(Matrix3d matrix3d)
void
rotX(double double1)
void
rotY(double double1)
void
rotZ(double double1)
void
set(double double1)
void
set(double[] doubleArray)
void
set(AxisAngle4d axisAngle4d)
void
set(AxisAngle4f axisAngle4f)
void
set(Matrix3d matrix3d)
void
set(Matrix3f matrix3f)
void
set(Quat4d quat4d)
void
set(Quat4f quat4f)
void
setColumn(int int1, double[] doubleArray)
void
setColumn(int int1, double double1, double double2, double double3)
void
setColumn(int int1, Vector3d vector3d)
void
setElement(int int1, int int2, double double1)
void
setIdentity()
void
setM00(double double1)
void
setM01(double double1)
void
setM02(double double1)
void
setM10(double double1)
void
setM11(double double1)
void
setM12(double double1)
void
setM20(double double1)
void
setM21(double double1)
void
setM22(double double1)
void
setRow(int int1, double[] doubleArray)
void
setRow(int int1, double double1, double double2, double double3)
void
setRow(int int1, Vector3d vector3d)
void
setScale(double double1)
void
setZero()
void
sub(Matrix3d matrix3d)
void
sub(Matrix3d matrix3d, Matrix3d matrix3d2)
java.lang.String
toString()
void
transform(Tuple3d tuple3d)
void
transform(Tuple3d tuple3d, Tuple3d tuple3d2)
void
transpose()
void
transpose(Matrix3d matrix3d)
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 -
m10
public double m10 -
m11
public double m11 -
m12
public double m12 -
m20
public double m20 -
m21
public double m21 -
m22
public double m22
-
-
Constructor Details
-
Matrix3d
public Matrix3d(double double1, double double2, double double3, double double4, double double5, double double6, double double7, double double8, double double9) -
Matrix3d
public Matrix3d(double[] doubleArray) -
Matrix3d
-
Matrix3d
-
Matrix3d
public Matrix3d()
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setIdentity
public final void setIdentity() -
setScale
public final void setScale(double double1) -
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) -
setRow
public final void setRow(int int1, double double1, double double2, double double3) -
setRow
-
setRow
public final void setRow(int int1, double[] doubleArray) -
setColumn
public final void setColumn(int int1, double double1, double double2, double double3) -
setColumn
-
setColumn
public final void setColumn(int int1, double[] doubleArray) -
getScale
public final double getScale() -
add
public final void add(double double1) -
add
-
add
-
add
-
sub
-
sub
-
transpose
public final void transpose() -
transpose
-
set
-
set
-
set
-
set
-
set
-
set
-
set
public final void set(double[] doubleArray) -
invert
-
invert
public final void invert() -
determinant
public final double determinant() -
set
public final void set(double double1) -
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
-
mulNormalize
-
mulNormalize
-
mulTransposeBoth
-
mulTransposeRight
-
mulTransposeLeft
-
normalize
public final void normalize() -
normalize
-
normalizeCP
public final void normalizeCP() -
normalizeCP
-
equals
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
epsilonEquals
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
setZero
public final void setZero() -
negate
public final void negate() -
negate
-
transform
-
transform
-
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)
-