Click or drag to resize

Mat22 Structure

A 2-by-2 matrix. Stored in column-major order.

Namespace:  Internal.tainicom.Aether.Physics2D.Common
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public struct Mat22

The Mat22 type exposes the following members.

Constructors
  NameDescription
Public methodMat22(Vector2, Vector2)
Construct this matrix using columns.
Public methodMat22(Single, Single, Single, Single)
Construct this matrix using scalars.
Top
Properties
  NameDescription
Public propertyInverse
Top
Methods
  NameDescription
Public methodStatic memberAdd
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSet
Initialize this matrix using columns.
Public methodSetIdentity
Set this to the identity matrix.
Public methodSetZero
Set this matrix to all zeros.
Public methodSolve
Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldex
Public fieldey
Top
Extension Methods
See Also