RhinoCommon API
MatrixAddition Operator |
Adds two matrices and returns a new sum matrix.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Matrix operator +( Matrix a, Matrix b )
Public Shared Operator + ( a As Matrix, b As Matrix ) As Matrix
Parameters
- a
- Type: Rhino.GeometryMatrix
A first matrix to use in calculation. - b
- Type: Rhino.GeometryMatrix
Another matrix to use in calculation.
Return Value
Type: MatrixThe sum matrix.

Exception | Condition |
---|---|
ArgumentException | When the two matrices are not the same size. |
