Click or drag to resize
Matrix3 Structure
3x3 matrix, typically used to describe a rotation.

Namespace:  ABB.Robotics.Math
Assembly:  ABB.Robotics.Math (in ABB.Robotics.Math.dll) Version: 7.0.8747.636
Syntax
C#
public struct Matrix3

The Matrix3 type exposes the following members.

Constructors
  NameDescription
Public methodMatrix3(Matrix4)
Creates a 3x3 matrix from the upper-left part of a 4x4 matrix.
Corresponds to extracting the rotation part of a transformation matrix.
Public methodMatrix3(Vector3, Vector3, Vector3)
Creates a matrix from three column vectors.
Public methodMatrix3(Double, Double, Double, Double, Double, Double, Double, Double, Double)
Creates a matrix from elements row by row.
Top
Properties
  NameDescription
Public propertyElements
Returns an array of all elements in column-first order.
Public propertyItem
Column vector access.
Top
Methods
  NameDescription
Public methodAlmostEquals
Comparison method for matrices with tolerance
Public methodClean
Zeroes any values smaller than Globals.EPS.
Public methodDeterminant
Returns the determinant.
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodInverse
Returns the inverse.
Public methodInvert
Inverts the matrix, using Cramer's rule.
Public methodMultiply(Matrix3)
Matrix-Matrix multiplication method.
Public methodMultiply(Vector3)
Matrix-Vector3 multiplication method.
Public methodToString
Returns a string in the format
[[x.x x.y x.z] [y.x y.y y.z] [z.x z.y z.z]]
(Overrides ValueTypeToString.)
Public methodTranspose
Transposes the matrix.
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Adds each element of the two Matrix3 values and returns the resulting Matrix3
Public operatorStatic memberMultiply(Matrix3, Matrix3)
Matrix-Matrix multiplication operator.
Public operatorStatic memberMultiply(Matrix3, Vector3)
Matrix-Vector3 multiplication operator.
Public operatorStatic memberMultiply(Matrix3, Double)
Multiples each element with the supplied value and returns the resulting Matrix3
Top
Fields
  NameDescription
Public fieldStatic memberIdentity
Identity matrix.
Public fieldx
Column vector.
Public fieldy
Column vector.
Public fieldz
Column vector.
Top
Version Information

Supported in: 1.0
See Also