Matrix4

Přehled

Matrix4 je třída v Aspose.3d pro Java. Dědici: Struct<Matrix4>, Serializable.

Matrix4.Matrix4 constructs a new identity matrix.

Vlastnosti

Název:Typ:PřístupPopis:
identityMatrix4Čtěte.Vlastnost poskytuje identitu instance matrice .
determinantdoubleČtěte.Vlastnost dává determinantní hodnotu matrice.

Metody

Podpis:Popis:
Matrix4()Inicializuje matici se 16 dvojitými hodnotami v řádku-důlném pořadí.
Matrix4(m00: double, m01: double, m02: double, m03: double, m10: double, m11: double, m12: double, m13: double, m20: double, m21: double, m22: double, m23: double, m30: double, m31: double, m32: double, m33: double)
Matrix4(values: float[])
Matrix4(values: double[])
Matrix4(r0: Vector4, r1: Vector4, r2: Vector4, r3: Vector4)
getIdentity() → Matrix4Vrátí matrice představující transformaci identity.
translate(v: Vector3) → Matrix4Vrátí matrice, která se překládá podle specifikovaných ofsetů.
translate(x: double, y: double, z: double) → Matrix4
scale(v: Vector3) → Matrix4Vrátí matrice, která se měří podle složek vectoru3
scale(s: double) → Matrix4
scale(x: double, y: double, z: double) → Matrix4
rotate(angle: double, axis: Vector3) → Matrix4Vrátí matrice, která představuje rotaci definovanou kvaterniem.
rotate(q: Quaternion) → Matrix4
rotateFromEuler(e: Vector3) → Matrix4
rotateFromEuler(x: double, y: double, z: double) → Matrix4
mul(a: Matrix4, b: Matrix4) → Matrix4Vrátí vektor 3 transformovaný matrikou m.
mul(m: Matrix4, s: double) → Matrix4
mul(m: Matrix4, v: Vector3) → Vector3
mul(m: Matrix4, v: FVector3) → FVector3
mul(m: Matrix4, v: Vector4) → Vector4
mul(m: Matrix4, v: FVector4) → FVector4
concatenate(m: Matrix4) → Matrix4Zmnoží tuto matici m a vrátí výsledek.
transpose() → Matrix4Vrátí transpozici této matice.
getDeterminant() → doubleVrátí determinant matrice jako dvojitý.
inverse() → Matrix4
normalize() → Matrix4Vrátí matrice s normalizovanými rotačními komponenty.
setTRS(translation: Vector3, rotation: Vector3, scale: Vector3)Nastavení překládání, rotace kvaternionu a stupnice.
setTRS(t: Vector3, r: Quaternion, s: Vector3)
decompose(scale: Vector3, rotation: Vector3, q: Quaternion) → boolean
toArray() → double[]Vrátí prvky matrice jako dvojité řady .
toString() → String
clone() → Matrix4
Matrix4(other: Matrix4)
copyFrom(src: Matrix4)
hashCode() → int
equals(obj: Object) → boolean
 Čeština