Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

1928e92b 78d6 732c eaba f8c4079cdb41

haplokuon edited this page May 6, 2023 · 1 revision

Matrix4 Structure

netDxf 3.0.0 Library

Represents a 4x4 double precision matrix.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public struct Matrix4 : IEquatable<Matrix4>

VB

Public Structure Matrix4
	Implements IEquatable(Of Matrix4)

C++

public value class Matrix4 : IEquatable<Matrix4>

F#

[<SealedAttribute>]
type Matrix4 = 
    struct
        inherit ValueType
        interface IEquatable<Matrix4>
    end
Inheritance Object → ValueType → Matrix4
Implements IEquatable(Matrix4)

Constructors

Matrix4 Initializes a new instance of Matrix4.

Properties

Identity Gets the identity matrix.
IsIdentity Gets if the actual matrix is the identity.
Item Gets or sets the component at the given row and column index in the matrix.
M11 Gets or sets the matrix element [0,0].
M12 Gets or sets the matrix element [0,1].
M13 Gets or sets the matrix element [0,2].
M14 Gets or sets the matrix element [0,3].
M21 Gets or sets the matrix element [1,0].
M22 Gets or sets the matrix element [1,1].
M23 Gets or sets the matrix element [1,2].
M24 Gets or sets the matrix element [1,3].
M31 Gets or sets the matrix element [2,0].
M32 Gets or sets the matrix element [2,1].
M33 Gets or sets the matrix element [2,2].
M34 Gets or sets the matrix element [2,3].
M41 Gets or sets the matrix element [3,0].
M42 Gets or sets the matrix element [3,1].
M43 Gets or sets the matrix element [3,2].
M44 Gets or sets the matrix element [3,3].
Zero Gets the zero matrix.

Methods

Add Matrix addition.
Determinant Calculate the determinant of the actual matrix.
Equals(Matrix4) Check if the components of two matrices are approximate equal.
Equals(Object) Indicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object))
Equals(Matrix4, Matrix4) Check if the components of two matrices are approximate equal.
Equals(Matrix4, Double) Check if the components of two matrices are approximate equal.
Equals(Matrix4, Matrix4, Double) Check if the components of two matrices are approximate equal.
GetHashCode Returns the hash code for this instance.
(Overrides ValueType.GetHashCode())
GetType Gets the Type of the current instance.
(Inherited from Object)
Inverse Calculates the inverse matrix.
Multiply(Matrix4, Matrix4) Product of two matrices.
Multiply(Matrix4, Vector4) Product of a matrix with a vector.
Multiply(Matrix4, Double) Product of a matrix with a scalar.
Reflection Build the reflection matrix of a mirror plane that passes through a point.
RotationX Builds a rotation matrix for a rotation around the x-axis.
RotationY Builds a rotation matrix for a rotation around the y-axis.
RotationZ Builds a rotation matrix for a rotation around the z-axis.
Scale(Double) Build a scaling matrix.
Scale(Vector3) Build a scaling matrix.
Scale(Double, Double, Double) Build a scaling matrix.
Subtract Matrix subtraction.
ToString() Obtains a string that represents the matrix.
(Overrides ValueType.ToString())
ToString(IFormatProvider) Obtains a string that represents the matrix.
Translation(Vector3) Build a translation matrix.
Translation(Double, Double, Double) Build a translation matrix.
Transpose Obtains the transpose matrix.

Operators

Addition(Matrix4, Matrix4) Matrix addition.
Equality(Matrix4, Matrix4) Check if the components of two matrices are equal.
Inequality(Matrix4, Matrix4) Check if the components of two matrices are different.
Multiply(Matrix4, Matrix4) Product of two matrices.
Multiply(Matrix4, Vector4) Product of a matrix with a vector.
Multiply(Matrix4, Double) Product of a matrix with a scalar.
Subtraction(Matrix4, Matrix4) Matrix subtraction.

See Also

Reference

netDxf Namespace

Clone this wiki locally