Class Matrix2d
java.lang.Object
org.joml.Matrix2d
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
boolean
boolean
double[]
get
(double[] doubles) double[]
get
(double[] doubles, int int0) double
get
(int arg0, int arg1) get
(int arg0, ByteBuffer arg1) get
(int arg0, DoubleBuffer arg1) get
(ByteBuffer arg0) get
(DoubleBuffer arg0) get
(Matrix3x2d arg0) double
getToAddress
(long arg0) getTransposed
(int arg0, ByteBuffer arg1) getTransposed
(int arg0, DoubleBuffer arg1) getTransposed
(ByteBuffer arg0) getTransposed
(DoubleBuffer arg0) int
hashCode()
identity()
invert()
boolean
isFinite()
double
m00()
m00
(double arg0) double
m01()
m01
(double arg0) double
m10()
m10
(double arg0) double
m11()
m11
(double arg0) mulComponentWise
(Matrix2dc arg0) mulComponentWise
(Matrix2dc arg0, Matrix2d arg1) normal()
normalizedPositiveX
(Vector2d arg0) normalizedPositiveY
(Vector2d arg0) void
readExternal
(ObjectInput arg0) rotate
(double arg0) rotateLocal
(double arg0) rotateLocal
(double arg0, Matrix2d arg1) rotation
(double arg0) scale
(double arg0) scale
(double arg0, double arg1) scaleLocal
(double arg0, double arg1) scaleLocal
(double arg0, double arg1, Matrix2d arg2) scaling
(double arg0) scaling
(double arg0, double arg1) set
(double[] doubles) set
(double arg0, double arg1, double arg2, double arg3) set
(int arg0, int arg1, double arg2) set
(ByteBuffer arg0) set
(DoubleBuffer arg0) set
(Matrix3x2dc arg0) set
(Matrix3x2fc arg0) setColumn
(int arg0, double arg1, double arg2) setFromAddress
(long arg0) setRow
(int arg0, double arg1, double arg2) toString()
toString
(NumberFormat numberFormat) transformTranspose
(double arg0, double arg1, Vector2d arg2) transformTranspose
(Vector2d arg0) transformTranspose
(Vector2dc arg0, Vector2d arg1) void
writeExternal
(ObjectOutput arg0) zero()
-
Field Details
-
m00
public double m00 -
m01
public double m01 -
m10
public double m10 -
m11
public double m11
-
-
Constructor Details
-
Matrix2d
public Matrix2d() -
Matrix2d
-
Matrix2d
-
Matrix2d
-
Matrix2d
-
Matrix2d
public Matrix2d(double arg0, double arg1, double arg2, double arg3) -
Matrix2d
-
Matrix2d
-
-
Method Details
-
m00
-
m01
-
m10
-
m11
-
m00
-
m01
-
m10
-
m11
-
set
-
set
-
set
-
set
-
set
-
set
-
mul
-
mul
-
mul
-
mul
-
mulLocal
-
mulLocal
-
set
-
set
-
set
-
determinant
public double determinant()- Specified by:
determinant
in interfaceMatrix2dc
-
invert
-
invert
-
transpose
-
transpose
-
toString
-
toString
-
get
-
get
-
get
-
getRotation
public double getRotation()- Specified by:
getRotation
in interfaceMatrix2dc
-
get
-
get
-
get
-
get
-
getTransposed
- Specified by:
getTransposed
in interfaceMatrix2dc
-
getTransposed
- Specified by:
getTransposed
in interfaceMatrix2dc
-
getTransposed
- Specified by:
getTransposed
in interfaceMatrix2dc
-
getTransposed
- Specified by:
getTransposed
in interfaceMatrix2dc
-
getToAddress
- Specified by:
getToAddress
in interfaceMatrix2dc
-
get
-
get
-
set
-
set
-
setFromAddress
-
zero
-
identity
-
scale
-
scale
-
scale
-
scale
-
scale
-
scale
-
scaleLocal
- Specified by:
scaleLocal
in interfaceMatrix2dc
-
scaleLocal
-
scaling
-
scaling
-
scaling
-
rotation
-
transform
-
transform
-
transform
-
transformTranspose
- Specified by:
transformTranspose
in interfaceMatrix2dc
-
transformTranspose
- Specified by:
transformTranspose
in interfaceMatrix2dc
-
transformTranspose
- Specified by:
transformTranspose
in interfaceMatrix2dc
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
-
rotate
-
rotate
-
rotateLocal
-
rotateLocal
- Specified by:
rotateLocal
in interfaceMatrix2dc
-
getRow
- Specified by:
getRow
in interfaceMatrix2dc
- Throws:
IndexOutOfBoundsException
-
setRow
- Throws:
IndexOutOfBoundsException
-
setRow
- Throws:
IndexOutOfBoundsException
-
getColumn
- Specified by:
getColumn
in interfaceMatrix2dc
- Throws:
IndexOutOfBoundsException
-
setColumn
- Throws:
IndexOutOfBoundsException
-
setColumn
- Throws:
IndexOutOfBoundsException
-
get
-
set
-
normal
-
normal
-
getScale
-
positiveX
-
normalizedPositiveX
- Specified by:
normalizedPositiveX
in interfaceMatrix2dc
-
positiveY
-
normalizedPositiveY
- Specified by:
normalizedPositiveY
in interfaceMatrix2dc
-
hashCode
-
equals
-
equals
-
swap
-
add
-
add
-
sub
-
sub
-
mulComponentWise
-
mulComponentWise
- Specified by:
mulComponentWise
in interfaceMatrix2dc
-
lerp
-
lerp
-
isFinite
-