Package com.aspose.threed
Class FMatrix4
- java.lang.Object
-
- com.aspose.threed.FMatrix4
-
- All Implemented Interfaces:
com.aspose.threed.Struct<FMatrix4>
,java.io.Serializable
,java.lang.Cloneable
public final class FMatrix4 extends java.lang.Object implements com.aspose.threed.Struct<FMatrix4>, java.io.Serializable
Matrix 4x4 with all component in float type- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static FMatrix4
IDENTITY
The identity matrixfloat
m00
The m00.float
m01
The m01.float
m02
The m02.float
m03
The m03.float
m10
The m10.float
m11
The m11.float
m12
The m12.float
m13
The m13.float
m20
The m20.float
m21
The m21.float
m22
The m22.float
m23
The m23.float
m30
The m30.float
m31
The m31.float
m32
The m32.float
m33
The m33.
-
Constructor Summary
Constructors Constructor Description FMatrix4()
FMatrix4(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)
Initialize the instance ofFMatrix4
FMatrix4(FVector4 r0, FVector4 r1, FVector4 r2, FVector4 r3)
Constructs matrix from 4 rows.FMatrix4(Matrix4 mat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FMatrix4
clone()
FMatrix4
concatenate(FMatrix4 m2)
Concatenates the two matricesFMatrix4
concatenate(Matrix4 m2)
Concatenates the two matricesvoid
copyFrom(FMatrix4 src)
boolean
equals(java.lang.Object obj)
int
hashCode()
FMatrix4
inverse()
Calculate the inverse matrix of current instance.static FMatrix4
mul(FMatrix4 lhs, float v)
Multiply the matrix and double valuestatic FMatrix4
mul(FMatrix4 left, FMatrix4 right)
Concatenate the two matricesFMatrix4
transpose()
Transposes this instance.
-
-
-
Field Detail
-
m00
public float m00
The m00.
-
m01
public float m01
The m01.
-
m02
public float m02
The m02.
-
m03
public float m03
The m03.
-
m10
public float m10
The m10.
-
m11
public float m11
The m11.
-
m12
public float m12
The m12.
-
m13
public float m13
The m13.
-
m20
public float m20
The m20.
-
m21
public float m21
The m21.
-
m22
public float m22
The m22.
-
m23
public float m23
The m23.
-
m30
public float m30
The m30.
-
m31
public float m31
The m31.
-
m32
public float m32
The m32.
-
m33
public float m33
The m33.
-
IDENTITY
public static final FMatrix4 IDENTITY
The identity matrix
-
-
Constructor Detail
-
FMatrix4
public FMatrix4(float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)
Initialize the instance ofFMatrix4
- Parameters:
m00
-m01
-m02
-m03
-m10
-m11
-m12
-m13
-m20
-m21
-m22
-m23
-m30
-m31
-m32
-m33
-
-
FMatrix4
public FMatrix4(Matrix4 mat)
- Parameters:
mat
-
-
FMatrix4
public FMatrix4(FVector4 r0, FVector4 r1, FVector4 r2, FVector4 r3)
Constructs matrix from 4 rows.- Parameters:
r0
- R0.r1
- R1.r2
- R2.r3
- R3.
-
FMatrix4
public FMatrix4()
-
-
Method Detail
-
concatenate
public FMatrix4 concatenate(FMatrix4 m2)
Concatenates the two matrices- Parameters:
m2
- M2.- Returns:
- New matrix4
-
mul
public static FMatrix4 mul(FMatrix4 left, FMatrix4 right)
Concatenate the two matrices- Parameters:
left
-right
-
-
concatenate
public FMatrix4 concatenate(Matrix4 m2)
Concatenates the two matrices- Parameters:
m2
- M2.- Returns:
- New matrix4
-
transpose
public FMatrix4 transpose()
Transposes this instance.- Returns:
- The transposed matrix.
-
inverse
public FMatrix4 inverse()
Calculate the inverse matrix of current instance.- Returns:
- Inverse matrix4
-
mul
public static FMatrix4 mul(FMatrix4 lhs, float v)
Multiply the matrix and double value- Parameters:
lhs
- Lhs.v
- V.- Returns:
- Result matrix
-
clone
public FMatrix4 clone()
- Specified by:
clone
in interfacecom.aspose.threed.Struct<FMatrix4>
- Overrides:
clone
in classjava.lang.Object
-
copyFrom
public void copyFrom(FMatrix4 src)
- Specified by:
copyFrom
in interfacecom.aspose.threed.Struct<FMatrix4>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-