Click or drag to resize

Matrix4x4 Structure

Transformation matrix for general non-affine transformations in 3D space. This matrix is used mainly for intermediate results.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Altaxo.GeometryMatrix4x4

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public struct Matrix4x4

The Matrix4x4 type exposes the following members.

Constructors
 NameDescription
Public methodMatrix4x4(Matrix4x3)Initializes a new instance of the Matrix4x4 class
Public methodMatrix4x4(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double) Initializes a new instance of the Matrix4x4 struct.
Top
Properties
 NameDescription
Public propertyDeterminant 
Public propertyItem 
Public propertyM11Gets the matrix element M[1,1].
Public propertyM12Gets the matrix element M[1,2].
Public propertyM13Gets the matrix element M[1,3].
Public propertyM14Gets the matrix element M[1,4].
Public propertyM21Gets the matrix element M[2,1].
Public propertyM22Gets the matrix element M[2,2].
Public propertyM23Gets the matrix element M[2,2].
Public propertyM24Gets the matrix element M[2,4].
Public propertyM31Gets the matrix element M[3,1].
Public propertyM32Gets the matrix element M[3,1].
Public propertyM33Gets the matrix element M[3,3].
Public propertyM34Gets the matrix element M[3,4].
Public propertyM41Gets the matrix element M[4,1]. This is OffsetX.
Public propertyM42Gets the matrix element M[4,2]. This is OffsetY.
Public propertyM43Gets the matrix element M[4,3]. This is OffsetZ.
Public propertyM44Gets the matrix element M[4,4].
Top
Methods
 NameDescription
Public methodDecomposeIntoQR Decomposes this matrix into a product Q*R, in which Q is an orthonormal matrix, and R is an upper triangular matrix, using the Gram–Schmidt process. This process is also known as QR-decomposition (https://en.wikipedia.org/wiki/QR_decomposition#QL,_RQ_and_LQ_decompositions).
Public methodDecomposeIntoRQ Decomposes this matrix into a product R*Q, in which R is an upper triangular matrix, and Q is an orthonormal matrix, using the Gram–Schmidt process. This process is also known as RQ-decomposition (https://en.wikipedia.org/wiki/QR_decomposition#QL,_RQ_and_LQ_decompositions).
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInverse 
Public methodToString
(Overrides ValueTypeToString)
Public methodTransform(PointD3D) Transforms the specified point p. For a point transform, the offset elements M41..M43 are used. The transformation is carried out as a prepend transformation, i.e. result = p * matrix (p considered as horizontal vector).
Public methodTransform(VectorD4D) 
Public methodWithPrependedTransformation Returns a new matrix based on the current matrix, but onto which another transformation was prepended.
Top
See Also