RhinoCommon API
MatrixMultiply Operator |
Multiplies two matrices and returns a new product matrix.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0
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 product matrix.
| Exception | Condition |
|---|---|
| ArgumentException | When a.ColumnCount != b.RowCount. |