Package org.joml
Class Matrix3x2d
java.lang.Object
org.joml.Matrix3x2d
- All Implemented Interfaces:
java.io.Externalizable
,java.io.Serializable
,Matrix3x2dc
- Direct Known Subclasses:
Matrix3x2dStack
public class Matrix3x2d extends java.lang.Object implements Matrix3x2dc, java.io.Externalizable
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Matrix3x2d()
Matrix3x2d(double double1, double double2, double double3, double double4, double double5, double double6)
Matrix3x2d(java.nio.DoubleBuffer doubleBuffer)
Matrix3x2d(Matrix2dc matrix2dc)
Matrix3x2d(Matrix2fc matrix2fc)
Matrix3x2d(Matrix3x2dc matrix3x2dc)
-
Method Summary
Modifier and Type Method Description double
determinant()
boolean
equals(java.lang.Object object)
boolean
equals(Matrix3x2dc matrix3x2dc, double double1)
double[]
get(double[] doubleArray)
double[]
get(double[] doubleArray, int int1)
java.nio.ByteBuffer
get(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.DoubleBuffer
get(int int1, java.nio.DoubleBuffer doubleBuffer)
java.nio.ByteBuffer
get(java.nio.ByteBuffer byteBuffer)
java.nio.DoubleBuffer
get(java.nio.DoubleBuffer doubleBuffer)
Matrix3x2d
get(Matrix3x2d matrix3x2d)
double[]
get3x3(double[] doubleArray)
double[]
get3x3(double[] doubleArray, int int1)
java.nio.ByteBuffer
get3x3(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.DoubleBuffer
get3x3(int int1, java.nio.DoubleBuffer doubleBuffer)
java.nio.ByteBuffer
get3x3(java.nio.ByteBuffer byteBuffer)
java.nio.DoubleBuffer
get3x3(java.nio.DoubleBuffer doubleBuffer)
double[]
get4x4(double[] doubleArray)
double[]
get4x4(double[] doubleArray, int int1)
java.nio.ByteBuffer
get4x4(int int1, java.nio.ByteBuffer byteBuffer)
java.nio.DoubleBuffer
get4x4(int int1, java.nio.DoubleBuffer doubleBuffer)
java.nio.ByteBuffer
get4x4(java.nio.ByteBuffer byteBuffer)
java.nio.DoubleBuffer
get4x4(java.nio.DoubleBuffer doubleBuffer)
Matrix3x2dc
getToAddress(long long1)
int
hashCode()
Matrix3x2d
identity()
Matrix3x2d
invert()
Matrix3x2d
invert(Matrix3x2d matrix3x2d)
boolean
isFinite()
double
m00()
double
m01()
double
m10()
double
m11()
double
m20()
double
m21()
Matrix3x2d
mul(Matrix3x2dc matrix3x2dc)
Matrix3x2d
mul(Matrix3x2dc matrix3x2dc, Matrix3x2d matrix3x2d)
Matrix3x2d
mulLocal(Matrix3x2dc matrix3x2dc)
Matrix3x2d
mulLocal(Matrix3x2dc matrix3x2dc, Matrix3x2d matrix3x2d)
Vector2d
normalizedPositiveX(Vector2d vector2d)
Vector2d
normalizedPositiveY(Vector2d vector2d)
Vector2d
origin(Vector2d vector2d)
Vector2d
positiveX(Vector2d vector2d)
Vector2d
positiveY(Vector2d vector2d)
void
readExternal(java.io.ObjectInput objectInput)
Matrix3x2d
rotate(double double1)
Matrix3x2d
rotate(double double1, Matrix3x2d matrix3x2d)
Matrix3x2d
rotateAbout(double double1, double double2, double double3)
Matrix3x2d
rotateAbout(double double1, double double2, double double3, Matrix3x2d matrix3x2d)
Matrix3x2d
rotateLocal(double double1)
Matrix3x2d
rotateLocal(double double1, Matrix3x2d matrix3x2d)
Matrix3x2d
rotateTo(Vector2dc vector2dc, Vector2dc vector2dc2)
Matrix3x2d
rotateTo(Vector2dc vector2dc, Vector2dc vector2dc2, Matrix3x2d matrix3x2d)
Matrix3x2d
rotation(double double1)
Matrix3x2d
scale(double double1)
Matrix3x2d
scale(double double1, double double2)
Matrix3x2d
scale(double double1, double double2, Matrix3x2d matrix3x2d)
Matrix3x2d
scale(double double1, Matrix3x2d matrix3x2d)
Matrix3x2d
scale(Vector2dc vector2dc)
Matrix3x2d
scale(Vector2dc vector2dc, Matrix3x2d matrix3x2d)
Matrix3x2d
scale(Vector2fc vector2fc)
Matrix3x2d
scale(Vector2fc vector2fc, Matrix3x2d matrix3x2d)
Matrix3x2d
scaleAround(double double1, double double2, double double3)
Matrix3x2d
scaleAround(double double1, double double2, double double3, double double4)
Matrix3x2d
scaleAround(double double1, double double2, double double3, double double4, Matrix3x2d matrix3x2d)
Matrix3x2d
scaleAround(double double1, double double2, double double3, Matrix3x2d matrix3x2d)
Matrix3x2d
scaleAroundLocal(double double1, double double2, double double3)
Matrix3x2d
scaleAroundLocal(double double1, double double2, double double3, double double4, double double5, double double6)
Matrix3x2d
scaleAroundLocal(double double1, double double2, double double3, double double4, Matrix3x2d matrix3x2d)
Matrix3x2d
scaleAroundLocal(double double1, double double2, double double3, Matrix3x2d matrix3x2d)
Matrix3x2d
scaleLocal(double double1)
Matrix3x2d
scaleLocal(double double1, double double2)
Matrix3x2d
scaleLocal(double double1, double double2, Matrix3x2d matrix3x2d)
Matrix3x2d
scaleLocal(double double1, Matrix3x2d matrix3x2d)
Matrix3x2d
scaling(double double1)
Matrix3x2d
scaling(double double1, double double2)
Matrix3x2d
set(double[] doubleArray)
Matrix3x2d
set(double double1, double double2, double double3, double double4, double double5, double double6)
Matrix3x2d
set(java.nio.ByteBuffer byteBuffer)
Matrix3x2d
set(java.nio.DoubleBuffer doubleBuffer)
Matrix3x2d
set(Matrix2dc matrix2dc)
Matrix3x2d
set(Matrix2fc matrix2fc)
Matrix3x2d
set(Matrix3x2dc matrix3x2dc)
Matrix3x2d
setFromAddress(long long1)
Matrix3x2d
setTranslation(double double1, double double2)
Matrix3x2d
setTranslation(Vector2dc vector2dc)
Matrix3x2d
setView(double double1, double double2, double double3, double double4)
Matrix3x2d
span(Vector2d vector2d, Vector2d vector2d2, Vector2d vector2d3)
boolean
testAar(double double1, double double2, double double3, double double4)
boolean
testCircle(double double1, double double2, double double3)
boolean
testPoint(double double1, double double2)
java.lang.String
toString()
java.lang.String
toString(java.text.NumberFormat numberFormat)
Vector3d
transform(double double1, double double2, double double3, Vector3d vector3d)
Vector3d
transform(Vector3d vector3d)
Vector3d
transform(Vector3dc vector3dc, Vector3d vector3d)
Vector2d
transformDirection(double double1, double double2, Vector2d vector2d)
Vector2d
transformDirection(Vector2d vector2d)
Vector2d
transformDirection(Vector2dc vector2dc, Vector2d vector2d)
Vector2d
transformPosition(double double1, double double2, Vector2d vector2d)
Vector2d
transformPosition(Vector2d vector2d)
Vector2d
transformPosition(Vector2dc vector2dc, Vector2d vector2d)
Matrix3x2d
translate(double double1, double double2)
Matrix3x2d
translate(double double1, double double2, Matrix3x2d matrix3x2d)
Matrix3x2d
translate(Vector2dc vector2dc)
Matrix3x2d
translate(Vector2dc vector2dc, Matrix3x2d matrix3x2d)
Matrix3x2d
translateLocal(double double1, double double2)
Matrix3x2d
translateLocal(double double1, double double2, Matrix3x2d matrix3x2d)
Matrix3x2d
translateLocal(Vector2dc vector2dc)
Matrix3x2d
translateLocal(Vector2dc vector2dc, Matrix3x2d matrix3x2d)
Matrix3x2d
translation(double double1, double double2)
Matrix3x2d
translation(Vector2dc vector2dc)
Vector2d
unproject(double double1, double double2, int[] intArray, Vector2d vector2d)
Vector2d
unprojectInv(double double1, double double2, int[] intArray, Vector2d vector2d)
Matrix3x2d
view(double double1, double double2, double double3, double double4)
Matrix3x2d
view(double double1, double double2, double double3, double double4, Matrix3x2d matrix3x2d)
double[]
viewArea(double[] doubleArray)
void
writeExternal(java.io.ObjectOutput objectOutput)
Matrix3x2d
zero()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
m00
public double m00 -
m01
public double m01 -
m10
public double m10 -
m11
public double m11 -
m20
public double m20 -
m21
public double m21
-
-
Constructor Details
-
Matrix3x2d
public Matrix3x2d() -
Matrix3x2d
-
Matrix3x2d
-
Matrix3x2d
-
Matrix3x2d
public Matrix3x2d(double double1, double double2, double double3, double double4, double double5, double double6) -
Matrix3x2d
public Matrix3x2d(java.nio.DoubleBuffer doubleBuffer)
-
-
Method Details
-
m00
public double m00()- Specified by:
m00
in interfaceMatrix3x2dc
-
m01
public double m01()- Specified by:
m01
in interfaceMatrix3x2dc
-
m10
public double m10()- Specified by:
m10
in interfaceMatrix3x2dc
-
m11
public double m11()- Specified by:
m11
in interfaceMatrix3x2dc
-
m20
public double m20()- Specified by:
m20
in interfaceMatrix3x2dc
-
m21
public double m21()- Specified by:
m21
in interfaceMatrix3x2dc
-
set
-
set
-
set
-
mul
-
mul
- Specified by:
mul
in interfaceMatrix3x2dc
-
mulLocal
-
mulLocal
- Specified by:
mulLocal
in interfaceMatrix3x2dc
-
set
public Matrix3x2d set(double double1, double double2, double double3, double double4, double double5, double double6) -
set
-
determinant
public double determinant()- Specified by:
determinant
in interfaceMatrix3x2dc
-
invert
-
invert
- Specified by:
invert
in interfaceMatrix3x2dc
-
translation
-
translation
-
setTranslation
-
setTranslation
-
translate
- Specified by:
translate
in interfaceMatrix3x2dc
-
translate
-
translate
- Specified by:
translate
in interfaceMatrix3x2dc
-
translate
-
translateLocal
-
translateLocal
- Specified by:
translateLocal
in interfaceMatrix3x2dc
-
translateLocal
- Specified by:
translateLocal
in interfaceMatrix3x2dc
-
translateLocal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
toString
public java.lang.String toString(java.text.NumberFormat numberFormat) -
get
- Specified by:
get
in interfaceMatrix3x2dc
-
get
public java.nio.DoubleBuffer get(java.nio.DoubleBuffer doubleBuffer)- Specified by:
get
in interfaceMatrix3x2dc
-
get
public java.nio.DoubleBuffer get(int int1, java.nio.DoubleBuffer doubleBuffer)- Specified by:
get
in interfaceMatrix3x2dc
-
get
public java.nio.ByteBuffer get(java.nio.ByteBuffer byteBuffer)- Specified by:
get
in interfaceMatrix3x2dc
-
get
public java.nio.ByteBuffer get(int int1, java.nio.ByteBuffer byteBuffer)- Specified by:
get
in interfaceMatrix3x2dc
-
get3x3
public java.nio.DoubleBuffer get3x3(java.nio.DoubleBuffer doubleBuffer)- Specified by:
get3x3
in interfaceMatrix3x2dc
-
get3x3
public java.nio.DoubleBuffer get3x3(int int1, java.nio.DoubleBuffer doubleBuffer)- Specified by:
get3x3
in interfaceMatrix3x2dc
-
get3x3
public java.nio.ByteBuffer get3x3(java.nio.ByteBuffer byteBuffer)- Specified by:
get3x3
in interfaceMatrix3x2dc
-
get3x3
public java.nio.ByteBuffer get3x3(int int1, java.nio.ByteBuffer byteBuffer)- Specified by:
get3x3
in interfaceMatrix3x2dc
-
get4x4
public java.nio.DoubleBuffer get4x4(java.nio.DoubleBuffer doubleBuffer)- Specified by:
get4x4
in interfaceMatrix3x2dc
-
get4x4
public java.nio.DoubleBuffer get4x4(int int1, java.nio.DoubleBuffer doubleBuffer)- Specified by:
get4x4
in interfaceMatrix3x2dc
-
get4x4
public java.nio.ByteBuffer get4x4(java.nio.ByteBuffer byteBuffer)- Specified by:
get4x4
in interfaceMatrix3x2dc
-
get4x4
public java.nio.ByteBuffer get4x4(int int1, java.nio.ByteBuffer byteBuffer)- Specified by:
get4x4
in interfaceMatrix3x2dc
-
getToAddress
- Specified by:
getToAddress
in interfaceMatrix3x2dc
-
get
public double[] get(double[] doubleArray, int int1)- Specified by:
get
in interfaceMatrix3x2dc
-
get
public double[] get(double[] doubleArray)- Specified by:
get
in interfaceMatrix3x2dc
-
get3x3
public double[] get3x3(double[] doubleArray, int int1)- Specified by:
get3x3
in interfaceMatrix3x2dc
-
get3x3
public double[] get3x3(double[] doubleArray)- Specified by:
get3x3
in interfaceMatrix3x2dc
-
get4x4
public double[] get4x4(double[] doubleArray, int int1)- Specified by:
get4x4
in interfaceMatrix3x2dc
-
get4x4
public double[] get4x4(double[] doubleArray)- Specified by:
get4x4
in interfaceMatrix3x2dc
-
set
-
set
-
setFromAddress
-
zero
-
identity
-
scale
- Specified by:
scale
in interfaceMatrix3x2dc
-
scale
-
scale
-
scale
- Specified by:
scale
in interfaceMatrix3x2dc
-
scale
-
scale
- Specified by:
scale
in interfaceMatrix3x2dc
-
scale
- Specified by:
scale
in interfaceMatrix3x2dc
-
scale
-
scaleLocal
- Specified by:
scaleLocal
in interfaceMatrix3x2dc
-
scaleLocal
-
scaleLocal
- Specified by:
scaleLocal
in interfaceMatrix3x2dc
-
scaleLocal
-
scaleAround
public Matrix3x2d scaleAround(double double1, double double2, double double3, double double4, Matrix3x2d matrix3x2d)- Specified by:
scaleAround
in interfaceMatrix3x2dc
-
scaleAround
-
scaleAround
public Matrix3x2d scaleAround(double double1, double double2, double double3, Matrix3x2d matrix3x2d)- Specified by:
scaleAround
in interfaceMatrix3x2dc
-
scaleAround
-
scaleAroundLocal
public Matrix3x2d scaleAroundLocal(double double1, double double2, double double3, double double4, Matrix3x2d matrix3x2d)- Specified by:
scaleAroundLocal
in interfaceMatrix3x2dc
-
scaleAroundLocal
public Matrix3x2d scaleAroundLocal(double double1, double double2, double double3, Matrix3x2d matrix3x2d)- Specified by:
scaleAroundLocal
in interfaceMatrix3x2dc
-
scaleAroundLocal
public Matrix3x2d scaleAroundLocal(double double1, double double2, double double3, double double4, double double5, double double6) -
scaleAroundLocal
-
scaling
-
scaling
-
rotation
-
transform
- Specified by:
transform
in interfaceMatrix3x2dc
-
transform
- Specified by:
transform
in interfaceMatrix3x2dc
-
transform
- Specified by:
transform
in interfaceMatrix3x2dc
-
transformPosition
- Specified by:
transformPosition
in interfaceMatrix3x2dc
-
transformPosition
- Specified by:
transformPosition
in interfaceMatrix3x2dc
-
transformPosition
- Specified by:
transformPosition
in interfaceMatrix3x2dc
-
transformDirection
- Specified by:
transformDirection
in interfaceMatrix3x2dc
-
transformDirection
- Specified by:
transformDirection
in interfaceMatrix3x2dc
-
transformDirection
- Specified by:
transformDirection
in interfaceMatrix3x2dc
-
writeExternal
public void writeExternal(java.io.ObjectOutput objectOutput) throws java.io.IOException- Specified by:
writeExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
-
readExternal
public void readExternal(java.io.ObjectInput objectInput) throws java.io.IOException- Specified by:
readExternal
in interfacejava.io.Externalizable
- Throws:
java.io.IOException
-
rotate
-
rotate
- Specified by:
rotate
in interfaceMatrix3x2dc
-
rotateLocal
- Specified by:
rotateLocal
in interfaceMatrix3x2dc
-
rotateLocal
-
rotateAbout
-
rotateAbout
public Matrix3x2d rotateAbout(double double1, double double2, double double3, Matrix3x2d matrix3x2d)- Specified by:
rotateAbout
in interfaceMatrix3x2dc
-
rotateTo
- Specified by:
rotateTo
in interfaceMatrix3x2dc
-
rotateTo
-
view
public Matrix3x2d view(double double1, double double2, double double3, double double4, Matrix3x2d matrix3x2d)- Specified by:
view
in interfaceMatrix3x2dc
-
view
-
setView
-
origin
- Specified by:
origin
in interfaceMatrix3x2dc
-
viewArea
public double[] viewArea(double[] doubleArray)- Specified by:
viewArea
in interfaceMatrix3x2dc
-
positiveX
- Specified by:
positiveX
in interfaceMatrix3x2dc
-
normalizedPositiveX
- Specified by:
normalizedPositiveX
in interfaceMatrix3x2dc
-
positiveY
- Specified by:
positiveY
in interfaceMatrix3x2dc
-
normalizedPositiveY
- Specified by:
normalizedPositiveY
in interfaceMatrix3x2dc
-
unproject
- Specified by:
unproject
in interfaceMatrix3x2dc
-
unprojectInv
- Specified by:
unprojectInv
in interfaceMatrix3x2dc
-
span
-
testPoint
public boolean testPoint(double double1, double double2)- Specified by:
testPoint
in interfaceMatrix3x2dc
-
testCircle
public boolean testCircle(double double1, double double2, double double3)- Specified by:
testCircle
in interfaceMatrix3x2dc
-
testAar
public boolean testAar(double double1, double double2, double double3, double double4)- Specified by:
testAar
in interfaceMatrix3x2dc
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object object)- Overrides:
equals
in classjava.lang.Object
-
equals
- Specified by:
equals
in interfaceMatrix3x2dc
-
isFinite
public boolean isFinite()- Specified by:
isFinite
in interfaceMatrix3x2dc
-