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()
double
boolean
boolean
double[]
get
(double[] doubles) double[]
get
(double[] doubles, int int0) float[]
get
(float[] floats) float[]
get
(float[] floats, int int0) double
get
(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) double
getRowColumn
(int arg0, int arg1) getToAddress
(long arg0) int
hashCode()
identity()
invert()
boolean
isFinite()
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) double
m00()
m00
(double arg0) double
m01()
m01
(double arg0) double
m02()
m02
(double arg0) double
m10()
m10
(double arg0) double
m11()
m11
(double arg0) double
m12()
m12
(double arg0) double
m20()
m20
(double arg0) double
m21()
m21
(double arg0) double
m22()
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) double
quadraticFormProduct
(double arg0, double arg1, double arg2) double
double
void
readExternal
(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) void
writeExternal
(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:
determinant
in interfaceMatrix3dc
-
invert
-
invert
-
transpose
-
transpose
-
toString
-
toString
-
get
-
getRotation
- Specified by:
getRotation
in interfaceMatrix3dc
-
getUnnormalizedRotation
- Specified by:
getUnnormalizedRotation
in interfaceMatrix3dc
-
getNormalizedRotation
- Specified by:
getNormalizedRotation
in interfaceMatrix3dc
-
getUnnormalizedRotation
- Specified by:
getUnnormalizedRotation
in interfaceMatrix3dc
-
getNormalizedRotation
- Specified by:
getNormalizedRotation
in interfaceMatrix3dc
-
get
-
get
-
get
-
get
-
get
-
get
-
getFloats
-
getFloats
-
getToAddress
- Specified by:
getToAddress
in 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:
scaleLocal
in interfaceMatrix3dc
-
scaleLocal
-
rotation
-
rotation
-
rotation
-
rotation
-
rotation
-
rotationX
-
rotationY
-
rotationZ
-
rotationXYZ
-
rotationZYX
-
rotationYXZ
-
rotation
-
rotation
-
transform
-
transform
-
transform
-
transform
-
transform
-
transformTranspose
- Specified by:
transformTranspose
in interfaceMatrix3dc
-
transformTranspose
- Specified by:
transformTranspose
in interfaceMatrix3dc
-
transformTranspose
- Specified by:
transformTranspose
in interfaceMatrix3dc
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
-
rotateX
-
rotateX
-
rotateY
-
rotateY
-
rotateZ
-
rotateZ
-
rotateXYZ
-
rotateXYZ
-
rotateZYX
-
rotateZYX
-
rotateYXZ
-
rotateYXZ
-
rotateYXZ
-
rotate
-
rotate
-
rotateLocal
- Specified by:
rotateLocal
in interfaceMatrix3dc
-
rotateLocal
-
rotateLocalX
- Specified by:
rotateLocalX
in interfaceMatrix3dc
-
rotateLocalX
-
rotateLocalY
- Specified by:
rotateLocalY
in interfaceMatrix3dc
-
rotateLocalY
-
rotateLocalZ
- Specified by:
rotateLocalZ
in interfaceMatrix3dc
-
rotateLocalZ
-
rotateLocal
- Specified by:
rotateLocal
in interfaceMatrix3dc
-
rotateLocal
-
rotateLocal
- Specified by:
rotateLocal
in interfaceMatrix3dc
-
rotateLocal
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
rotate
-
getRow
- Specified by:
getRow
in 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:
getColumn
in 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:
getRowColumn
in 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:
normalizedPositiveZ
in interfaceMatrix3dc
-
positiveX
-
normalizedPositiveX
- Specified by:
normalizedPositiveX
in interfaceMatrix3dc
-
positiveY
-
normalizedPositiveY
- Specified by:
normalizedPositiveY
in interfaceMatrix3dc
-
hashCode
-
equals
-
equals
-
swap
-
add
-
add
-
sub
-
sub
-
mulComponentWise
-
mulComponentWise
- Specified by:
mulComponentWise
in 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:
rotateTowards
in interfaceMatrix3dc
-
rotationTowards
-
rotationTowards
public Matrix3d rotationTowards(double arg0, double arg1, double arg2, double arg3, double arg4, double arg5) -
getEulerAnglesZYX
- Specified by:
getEulerAnglesZYX
in 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:
quadraticFormProduct
in interfaceMatrix3dc
-
quadraticFormProduct
- Specified by:
quadraticFormProduct
in interfaceMatrix3dc
-
quadraticFormProduct
- Specified by:
quadraticFormProduct
in interfaceMatrix3dc
-