Class Matrix3d
java.lang.Object
org.joml.Matrix3d
- All Implemented Interfaces:
Externalizable,Serializable,Matrix3dc
- Direct Known Subclasses:
Matrix3dStack
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMatrix3d()Matrix3d(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8) Matrix3d(DoubleBuffer arg0) -
Method Summary
Modifier and TypeMethodDescriptioncofactor()doublebooleanbooleandouble[]get(double[] doubles) double[]get(double[] doubles, int int0) float[]get(float[] floats) float[]get(float[] floats, int int0) doubleget(int arg0, int arg1) get(int arg0, ByteBuffer arg1) get(int arg0, DoubleBuffer arg1) get(int arg0, FloatBuffer arg1) get(ByteBuffer arg0) get(DoubleBuffer arg0) get(FloatBuffer arg0) getEulerAnglesZYX(Vector3d arg0) getFloats(int arg0, ByteBuffer arg1) getFloats(ByteBuffer arg0) getRotation(AxisAngle4f arg0) doublegetRowColumn(int arg0, int arg1) getToAddress(long arg0) inthashCode()identity()invert()booleanisFinite()lookAlong(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5) lookAlong(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, Matrix3d arg6) doublem00()m00(double arg0) doublem01()m01(double arg0) doublem02()m02(double arg0) doublem10()m10(double arg0) doublem11()m11(double arg0) doublem12()m12(double arg0) doublem20()m20(double arg0) doublem21()m21(double arg0) doublem22()m22(double arg0) mulComponentWise(Matrix3dc arg0) mulComponentWise(Matrix3dc arg0, Matrix3d arg1) normal()normalizedPositiveX(Vector3d arg0) normalizedPositiveY(Vector3d arg0) normalizedPositiveZ(Vector3d arg0) obliqueZ(double arg0, double arg1) doublequadraticFormProduct(double arg0, double arg1, double arg2) doubledoublevoidreadExternal(ObjectInput arg0) reflect(double arg0, double arg1, double arg2) reflect(Quaterniondc arg0) reflect(Quaterniondc arg0, Matrix3d arg1) reflection(double arg0, double arg1, double arg2) reflection(Quaterniondc arg0) reflection(Vector3dc arg0) rotate(double arg0, double arg1, double arg2, double arg3) rotate(AxisAngle4d arg0) rotate(AxisAngle4d arg0, Matrix3d arg1) rotate(AxisAngle4f arg0) rotate(AxisAngle4f arg0, Matrix3d arg1) rotate(Quaterniondc arg0) rotate(Quaterniondc arg0, Matrix3d arg1) rotate(Quaternionfc arg0) rotate(Quaternionfc arg0, Matrix3d arg1) rotateLocal(double arg0, double arg1, double arg2, double arg3) rotateLocal(double arg0, double arg1, double arg2, double arg3, Matrix3d arg4) rotateLocal(Quaterniondc arg0) rotateLocal(Quaterniondc arg0, Matrix3d arg1) rotateLocal(Quaternionfc arg0) rotateLocal(Quaternionfc arg0, Matrix3d arg1) rotateLocalX(double arg0) rotateLocalX(double arg0, Matrix3d arg1) rotateLocalY(double arg0) rotateLocalY(double arg0, Matrix3d arg1) rotateLocalZ(double arg0) rotateLocalZ(double arg0, Matrix3d arg1) rotateTowards(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5) rotateTowards(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, Matrix3d arg6) rotateTowards(Vector3dc arg0, Vector3dc arg1) rotateTowards(Vector3dc arg0, Vector3dc arg1, Matrix3d arg2) rotateX(double arg0) rotateXYZ(double arg0, double arg1, double arg2) rotateY(double arg0) rotateYXZ(double arg0, double arg1, double arg2) rotateZ(double arg0) rotateZYX(double arg0, double arg1, double arg2) rotation(double arg0, double arg1, double arg2, double arg3) rotation(AxisAngle4d arg0) rotation(AxisAngle4f arg0) rotation(Quaterniondc arg0) rotation(Quaternionfc arg0) rotationTowards(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5) rotationTowards(Vector3dc arg0, Vector3dc arg1) rotationX(double arg0) rotationXYZ(double arg0, double arg1, double arg2) rotationY(double arg0) rotationYXZ(double arg0, double arg1, double arg2) rotationZ(double arg0) rotationZYX(double arg0, double arg1, double arg2) scale(double arg0) scale(double arg0, double arg1, double arg2) scaleLocal(double arg0, double arg1, double arg2) scaleLocal(double arg0, double arg1, double arg2, Matrix3d arg3) scaling(double arg0) scaling(double arg0, double arg1, double arg2) set(double[] doubles) set(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8) set(float[] floats) set(int arg0, int arg1, double arg2) set(ByteBuffer arg0) set(DoubleBuffer arg0) set(FloatBuffer arg0) set(AxisAngle4d arg0) set(AxisAngle4f arg0) set(Matrix4x3dc arg0) set(Quaterniondc arg0) set(Quaternionfc arg0) setColumn(int arg0, double arg1, double arg2, double arg3) setFloats(ByteBuffer arg0) setFromAddress(long arg0) setLookAlong(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5) setLookAlong(Vector3dc arg0, Vector3dc arg1) setRow(int arg0, double arg1, double arg2, double arg3) setRowColumn(int arg0, int arg1, double arg2) setSkewSymmetric(double arg0, double arg1, double arg2) setTransposed(Matrix3dc arg0) setTransposed(Matrix3fc arg0) toString()toString(NumberFormat numberFormat) transformTranspose(double arg0, double arg1, double arg2, Vector3d arg3) transformTranspose(Vector3d arg0) transformTranspose(Vector3dc arg0, Vector3d arg1) voidwriteExternal(ObjectOutput arg0) zero()
-
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() -
Matrix3d
-
Matrix3d
-
Matrix3d
-
Matrix3d
-
Matrix3d
-
Matrix3d
-
Matrix3d
public Matrix3d(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8) -
Matrix3d
-
Matrix3d
-
-
Method Details
-
m00
-
m01
-
m02
-
m10
-
m11
-
m12
-
m20
-
m21
-
m22
-
m00
-
m01
-
m02
-
m10
-
m11
-
m12
-
m20
-
m21
-
m22
-
set
-
setTransposed
-
set
-
setTransposed
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
set
-
mul
-
mul
-
mulLocal
-
mulLocal
-
mul
-
mul
-
set
public Matrix3d set(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8) -
set
-
set
-
determinant
public double determinant()- Specified by:
determinantin interfaceMatrix3dc
-
invert
-
invert
-
transpose
-
transpose
-
toString
-
toString
-
get
-
getRotation
- Specified by:
getRotationin interfaceMatrix3dc
-
getUnnormalizedRotation
- Specified by:
getUnnormalizedRotationin interfaceMatrix3dc
-
getNormalizedRotation
- Specified by:
getNormalizedRotationin interfaceMatrix3dc
-
getUnnormalizedRotation
- Specified by:
getUnnormalizedRotationin interfaceMatrix3dc
-
getNormalizedRotation
- Specified by:
getNormalizedRotationin interfaceMatrix3dc
-
get
-
get
-
get
-
get
-
get
-
get
-
getFloats
-
getFloats
-
getToAddress
- Specified by:
getToAddressin interfaceMatrix3dc
-
get
-
get
-
get
-
get
-
set
-
set
-
set
-
setFloats
-
setFromAddress
-
set
-
zero
-
identity
-
scaling
-
scaling
-
scaling
-
scale
-
scale
-
scale
-
scale
-
scale
-
scale
-
scaleLocal
- Specified by:
scaleLocalin interfaceMatrix3dc
-
scaleLocal
-
rotation
-
rotation
-
rotation
-
rotation
-
rotation
-
rotationX
-
rotationY
-
rotationZ
-
rotationXYZ
-
rotationZYX
-
rotationYXZ
-
rotation
-
rotation
-
transform
-
transform
-
transform
-
transform
-
transform
-
transformTranspose
- Specified by:
transformTransposein interfaceMatrix3dc
-
transformTranspose
- Specified by:
transformTransposein interfaceMatrix3dc
-
transformTranspose
- Specified by:
transformTransposein interfaceMatrix3dc
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOException
-
rotateX
-
rotateX
-
rotateY
-
rotateY
-
rotateZ
-
rotateZ
-
rotateXYZ
-
rotateXYZ
-
rotateZYX
-
rotateZYX
-
rotateYXZ
-
rotateYXZ
-
rotateYXZ
-
rotate
-
rotate
-
rotateLocal
- Specified by:
rotateLocalin interfaceMatrix3dc
-
rotateLocal
-
rotateLocalX
- Specified by:
rotateLocalXin interfaceMatrix3dc
-
rotateLocalX
-
rotateLocalY
- Specified by:
rotateLocalYin interfaceMatrix3dc
-
rotateLocalY
-
rotateLocalZ
- Specified by:
rotateLocalZin interfaceMatrix3dc
-
rotateLocalZ
-
rotateLocal
- Specified by:
rotateLocalin interfaceMatrix3dc
-
rotateLocal
-
rotateLocal
- Specified by:
rotateLocalin interfaceMatrix3dc
-
rotateLocal
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
getRow
- Specified by:
getRowin interfaceMatrix3dc- Throws:
IndexOutOfBoundsException
-
setRow
- Throws:
IndexOutOfBoundsException
-
setRow
public Matrix3d setRow(int arg0, double arg1, double arg2, double arg3) throws IndexOutOfBoundsException - Throws:
IndexOutOfBoundsException
-
getColumn
- Specified by:
getColumnin interfaceMatrix3dc- Throws:
IndexOutOfBoundsException
-
setColumn
- Throws:
IndexOutOfBoundsException
-
setColumn
public Matrix3d setColumn(int arg0, double arg1, double arg2, double arg3) throws IndexOutOfBoundsException - Throws:
IndexOutOfBoundsException
-
get
-
set
-
getRowColumn
public double getRowColumn(int arg0, int arg1) - Specified by:
getRowColumnin interfaceMatrix3dc
-
setRowColumn
-
normal
-
normal
-
cofactor
-
cofactor
-
lookAlong
-
lookAlong
-
lookAlong
-
lookAlong
public Matrix3d lookAlong(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5) -
setLookAlong
-
setLookAlong
public Matrix3d setLookAlong(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5) -
getScale
-
positiveZ
-
normalizedPositiveZ
- Specified by:
normalizedPositiveZin interfaceMatrix3dc
-
positiveX
-
normalizedPositiveX
- Specified by:
normalizedPositiveXin interfaceMatrix3dc
-
positiveY
-
normalizedPositiveY
- Specified by:
normalizedPositiveYin interfaceMatrix3dc
-
hashCode
-
equals
-
equals
-
swap
-
add
-
add
-
sub
-
sub
-
mulComponentWise
-
mulComponentWise
- Specified by:
mulComponentWisein interfaceMatrix3dc
-
setSkewSymmetric
-
lerp
-
lerp
-
rotateTowards
-
rotateTowards
-
rotateTowards
public Matrix3d rotateTowards(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5) -
rotateTowards
public Matrix3d rotateTowards(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5, Matrix3d arg6) - Specified by:
rotateTowardsin interfaceMatrix3dc
-
rotationTowards
-
rotationTowards
public Matrix3d rotationTowards(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5) -
getEulerAnglesZYX
- Specified by:
getEulerAnglesZYXin interfaceMatrix3dc
-
obliqueZ
-
obliqueZ
-
reflect
-
reflect
-
reflect
-
reflect
-
reflect
-
reflect
-
reflection
-
reflection
-
reflection
-
isFinite
-
quadraticFormProduct
public double quadraticFormProduct(double arg0, double arg1, double arg2) - Specified by:
quadraticFormProductin interfaceMatrix3dc
-
quadraticFormProduct
- Specified by:
quadraticFormProductin interfaceMatrix3dc
-
quadraticFormProduct
- Specified by:
quadraticFormProductin interfaceMatrix3dc
-