Matrix2D Structure

CVB.Net Documentation
Double precision 2x2 Matrix struct.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public struct Matrix2D

The Matrix2D type exposes the following members.

Constructors

  NameDescription
Public methodMatrix2D(Double)
Construct a 2x2 matrix that represents a scaling.
Public methodMatrix2D(Angle)
Construct a 2x2 matrix that represents a rotation.
Public methodMatrix2D(Double, Double)
Constructs a 2x2 matrix that represent a scaling with different scaling in x and y directions.
Public methodMatrix2D(Angle, Double)
Construct a 2x2 matrix that is a combination of a rotation and scale operation.
Public methodMatrix2D(Point2Dd, Point2Dd)
Construct a 2x2 matrix from two column vectors.
Public methodMatrix2D(Double, Double, Double, Double)
Construct a 2x2 matrix.
Top
Properties

  NameDescription
Public propertyA11
Top left matrix element.
Public propertyA12
Top right matrix element.
Public propertyA21
Bottom left matrix element.
Public propertyA22
Bottom right matrix element.
Public propertyDet
Matrix determinant.
Public propertyItem
Index access.
Top
Methods

  NameDescription
Public methodEquals
Comparison function.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Hash code.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvert
Invert this matrix if possible.
Public methodToString
String conversion.
(Overrides ValueTypeToString.)
Top
Operators

  NameDescription
Public operatorStatic memberAddition
Addition operator for MatrixD structs.
Public operatorStatic memberEquality
Comparison operator for MatrixD structs.
Public operatorStatic memberInequality
Comparison operator for MatrixD structs.
Public operatorStatic memberMultiply(Double, Matrix2D)
Multiplication operator between MatrixD and scalar.
Public operatorStatic memberMultiply(Matrix2D, Matrix2D)
Multiplication operator for MatrixD structs.
Public operatorStatic memberSubtraction
Subtraction operator for MatrixD structs.
Top
Fields

  NameDescription
Public fieldStatic memberEmpty
0-element for matrix operations.
Public fieldStatic memberIdentity
1-element for matrix operations.
Top
See Also

Reference