M_Rhino_Geometry_Matrix_op_Addition - mcneel/rhinocommon-api-docs GitHub Wiki
Adds two matrices and returns a new sum matrix.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Matrix operator +(
Matrix a,
Matrix b
)
VB
Public Shared Operator + (
a As Matrix,
b As Matrix
) As Matrix
- a
- Type: Rhino.Geometry.Matrix
A first matrix to use in calculation. - b
- Type: Rhino.Geometry.Matrix
Another matrix to use in calculation.
Type: Matrix
The sum matrix.
Exception | Condition |
---|---|
ArgumentException | When the two matrices are not the same size. |
Supported in: 6.0.16224.21491, 5D58w