Double precision 2x2 Matrix struct.
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
The Matrix2D type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Matrix2D(Double) |
Construct a 2x2 matrix that represents a scaling.
| |
Matrix2D(Angle) |
Construct a 2x2 matrix that represents a rotation.
| |
Matrix2D(Double, Double) |
Constructs a 2x2 matrix that represent a scaling with different
scaling in x and y directions.
| |
Matrix2D(Angle, Double) |
Construct a 2x2 matrix that is a combination of a rotation and scale
operation.
| |
Matrix2D(Point2Dd, Point2Dd) |
Construct a 2x2 matrix from two column vectors.
| |
Matrix2D(Double, Double, Double, Double) |
Construct a 2x2 matrix.
|
Properties
Name | Description | |
---|---|---|
A11 |
Top left matrix element.
| |
A12 |
Top right matrix element.
| |
A21 |
Bottom left matrix element.
| |
A22 |
Bottom right matrix element.
| |
Det |
Matrix determinant.
| |
Item |
Index access.
|
Methods
Name | Description | |
---|---|---|
Equals |
Comparison function.
(Overrides ValueTypeEquals(Object).) | |
GetHashCode |
Hash code.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Invert |
Invert this matrix if possible.
| |
ToString |
String conversion.
(Overrides ValueTypeToString.) |
Operators
Name | Description | |
---|---|---|
Addition |
Addition operator for MatrixD structs.
| |
Equality |
Comparison operator for MatrixD structs.
| |
Inequality |
Comparison operator for MatrixD structs.
| |
Multiply(Double, Matrix2D) |
Multiplication operator between MatrixD and scalar.
| |
Multiply(Matrix2D, Matrix2D) |
Multiplication operator for MatrixD structs.
| |
Subtraction |
Subtraction operator for MatrixD structs.
|
Fields
Name | Description | |
---|---|---|
Empty |
0-element for matrix operations.
| |
Identity |
1-element for matrix operations.
|
See Also