![]() |
Matrix3x2 Structure |
Namespace: Karamba.Geometry
The Matrix3x2 type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Identity |
Returns the multiplicative identity matrix.
|
![]() | IsIdentity |
Returns whether the matrix is the identity matrix.
|
![]() | Translation |
Gets or sets the translation component of this matrix.
|
Name | Description | |
---|---|---|
![]() ![]() | Add |
Adds each matrix element in value1 with its corresponding element in value2.
|
![]() ![]() | CreateRotation(Double) |
Creates a rotation matrix using the given rotation in radians.
|
![]() ![]() | CreateRotation(Double, Vector2) |
Creates a rotation matrix using the given rotation in radians and a center point.
|
![]() ![]() | CreateScale(Double) |
Creates a scale matrix that scales uniformly with the given scale.
|
![]() ![]() | CreateScale(Vector2) |
Creates a scale matrix from the given vector scale.
|
![]() ![]() | CreateScale(Double, Vector2) |
Creates a scale matrix that scales uniformly with the given scale with an offset from the given center.
|
![]() ![]() | CreateScale(Double, Double) |
Creates a scale matrix from the given X and Y components.
|
![]() ![]() | CreateScale(Vector2, Vector2) |
Creates a scale matrix from the given vector scale with an offset from the given center point.
|
![]() ![]() | CreateScale(Double, Double, Vector2) |
Creates a scale matrix that is offset by a given center point.
|
![]() ![]() | CreateSkew(Double, Double) |
Creates a skew matrix from the given angles in radians.
|
![]() ![]() | CreateSkew(Double, Double, Vector2) |
Creates a skew matrix from the given angles in radians and a center point.
|
![]() ![]() | CreateTranslation(Vector2) |
Creates a translation matrix from the given vector.
|
![]() ![]() | CreateTranslation(Double, Double) |
Creates a translation matrix from the given X and Y components.
|
![]() | Equals(Object) |
Returns a boolean indicating whether the given Object is equal to this matrix instance.
(Overrides ValueTypeEquals(Object).) |
![]() | Equals(Matrix3x2) |
Returns a boolean indicating whether the matrix is equal to the other given matrix.
|
![]() | GetDeterminant |
Calculates the determinant for this matrix.
The determinant is calculated by expanding the matrix with a third column whose values are (0,0,1).
|
![]() | GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Invert |
Attempts to invert the given matrix. If the operation succeeds, the inverted matrix is stored in the result parameter.
|
![]() ![]() | Lerp |
Linearly interpolates from matrix1 to matrix2, based on the third parameter.
|
![]() ![]() | Multiply(Matrix3x2, Matrix3x2) |
Multiplies two matrices together and returns the resulting matrix.
|
![]() ![]() | Multiply(Matrix3x2, Double) |
Scales all elements in a matrix by the given scalar factor.
|
![]() ![]() | Negate |
Negates the given matrix by multiplying all values by -1.
|
![]() ![]() | Subtract |
Subtracts each matrix element in value2 from its corresponding element in value1.
|
![]() | ToString |
Returns a String representing this matrix instance.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Adds each matrix element in value1 with its corresponding element in value2.
|
![]() ![]() | Equality |
Returns a boolean indicating whether the given matrices are equal.
|
![]() ![]() | Inequality |
Returns a boolean indicating whether the given matrices are not equal.
|
![]() ![]() | Multiply(Matrix3x2, Matrix3x2) |
Multiplies two matrices together and returns the resulting matrix.
|
![]() ![]() | Multiply(Matrix3x2, Double) |
Scales all elements in a matrix by the given scalar factor.
|
![]() ![]() | Subtraction |
Subtracts each matrix element in value2 from its corresponding element in value1.
|
![]() ![]() | UnaryNegation |
Negates the given matrix by multiplying all values by -1.
|
Name | Description | |
---|---|---|
![]() | M11 |
The first element of the first row
|
![]() | M12 |
The second element of the first row
|
![]() | M21 |
The first element of the second row
|
![]() | M22 |
The second element of the second row
|
![]() | M31 |
The first element of the third row
|
![]() | M32 |
The second element of the third row
|