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

490f2e51 e5d9 c7a2 4b5c e30d7fd61b77

haplokuon edited this page May 6, 2023 · 1 revision

Matrix3 Structure

netDxf 3.0.0 Library

Represents a 3x3 double precision matrix.

Definition

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

C#

public struct Matrix3 : IEquatable<Matrix3>

VB

Public Structure Matrix3
	Implements IEquatable(Of Matrix3)

C++

public value class Matrix3 : IEquatable<Matrix3>

F#

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

Constructors

Matrix3 Initializes a new instance of Matrix3.

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].
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].
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].
Zero Gets the zero matrix.

Methods

Add Matrix addition.
Determinant Calculate the determinant of the actual matrix.
Equals(Matrix3) 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(Matrix3, Matrix3) Check if the components of two matrices are approximate equal.
Equals(Matrix3, Double) Check if the components of two matrices are approximate equal.
Equals(Matrix3, Matrix3, 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(Matrix3, Matrix3) Product of two matrices.
Multiply(Matrix3, Vector3) Product of a matrix with a vector.
Multiply(Matrix3, Double) Product of a matrix with a scalar.
Reflection Build the reflection matrix of a mirror plane that passes through the origin.
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.
Transpose Obtains the transpose matrix.

Operators

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

See Also

Reference

netDxf Namespace

Clone this wiki locally