Matrix2 Structure |
Namespace: NeoAxis
public struct Matrix2
The Matrix2 type exposes the following members.
| Name | Description | |
|---|---|---|
| Matrix2(Matrix2) |
Constructs a matrix with another specified Matrix2 object.
| |
| Matrix2(Matrix2F) |
Constructs a matrix with another specified Matrix2F object.
| |
| Matrix2(Vector2, Vector2) |
Constructs a matrix with the specified Vector2 elements,
which are the corresponding rows of the matrix.
| |
| Matrix2(Double, Double, Double, Double) |
Constructs a matrix with the given individual elements.
|
| Name | Description | |
|---|---|---|
| ItemInt32 |
Gets or sets the row of the current instance of Matrix2 at the specified index.
| |
| ItemInt32, Int32 |
Gets or sets the component at the specified index.
|
| Name | Description | |
|---|---|---|
| Add |
Adds two matricies.
| |
| Equals(Object) |
Determines whether the specified object is equal to the current instance of Matrix2.
(Overrides ValueTypeEquals(Object).) | |
| Equals(Matrix2, Double) |
Determines whether the specified matrix is equal to the current instance of Matrix2
with a given precision.
| |
| Equals(Matrix2, Double) |
Determines whether the specified matrix is equal to the current instance of Matrix2
with a given precision.
| |
| FromRotate(Radian) |
Creates a rotation matrix.
| |
| FromRotate(Radian, Matrix2) |
Creates a rotation matrix.
| |
| FromScale(Vector2) |
Creates a scale matrix with the specified Vector2 object.
| |
| FromScale(Vector2, Matrix2) |
Creates a scale matrix with the specified Vector2 object.
| |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| GetInverse |
Inverts the current instance of Matrix2 if it is invertible and returns the result.
| |
| GetInverse(Matrix2) |
Inverts the current instance of Matrix2 if it is invertible.
| |
| GetTrace |
Gets the trace of the matrix, the sum of the values along the diagonal.
| |
| GetTranspose |
Returns the transpose of the current instance of Matrix2.
| |
| GetTranspose(Matrix2) |
Calculates the transpose of the current instance of Matrix2.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Inverse |
Inverts the current instance of Matrix2 and determines whether the matrix is invertible.
Determines whether the current instance of Matrix2 is invertible and, if so, inverts this matrix.
| |
| Multiply(Double, Matrix2, Matrix2) |
Multiplies a matrix by a given value.
| |
| Multiply(Matrix2, Matrix2, Matrix2) |
Multiplies two matrices.
| |
| Multiply(Matrix2, Vector2, Vector2) |
Multiplies a matrix by a given Vector2 structure.
| |
| Multiply(Matrix2, Double, Matrix2) |
Multiplies a matrix by a given value.
| |
| Multiply(Vector2, Matrix2, Vector2) |
Multiplies a matrix by a given Vector2 structure.
| |
| Negate |
Negates a matrix.
| |
| Parse |
Converts a string representation of a matrix into the equivalent Matrix2 structure.
| |
| Subtract |
Subtracts two matricies.
| |
| ToMatrix2F |
Converts the current instance of Matrix2 into the equivalent Matrix2F structure.
| |
| ToMatrix2F(Matrix2F) |
Converts the current instance of Matrix2 into the equivalent Matrix2F structure.
| |
| ToMatrix3 |
Converts the current instance of Matrix2 into the equivalent Matrix3 structure.
| |
| ToMatrix3(Matrix3) |
Converts the current instance of Matrix2 into the equivalent Matrix3 structure.
| |
| ToString |
Returns a String that represents the current instance of Matrix2.
(Overrides ValueTypeToString.) | |
| Transpose |
Transposes the matrix.
|
| Name | Description | |
|---|---|---|
| Addition |
Adds two matricies.
| |
| Equality |
Determines whether two given matricies are equal.
| |
| Inequality |
Determines whether two given matricies are unequal.
| |
| Multiply(Double, Matrix2) |
Multiplies a matrix by a given value.
| |
| Multiply(Matrix2, Matrix2) |
Multiplies two matrices.
| |
| Multiply(Matrix2, Vector2) |
Multiplies a matrix by a given Vector2 structure.
| |
| Multiply(Matrix2, Double) |
Multiplies a matrix by a given value.
| |
| Multiply(Vector2, Matrix2) |
Multiplies a matrix by a given Vector2 structure.
| |
| Subtraction |
Subtracts two matricies.
| |
| UnaryNegation |
Negates a matrix.
|
| Name | Description | |
|---|---|---|
| Identity |
The identity matrix.
| |
| Item0 |
The first row of the matrix.
| |
| Item1 |
The second row of the matrix.
| |
| Zero |
The matrix with all of its components set to zero.
|
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
| PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |