4×4 matrix (row-major layout: mRC is row R, column C).
More...
|
| readonly void | CopyTo (Span< double > destination) |
| | Copies this matrix to a row-major span of 16 doubles.
|
| |
|
| static Mat4d | FromSpan (ReadOnlySpan< double > values) |
| | Creates a Mat4d from a row-major span of 16 doubles.
|
| |
| static Mat4d | Multiply (in Mat4d a, in Mat4d b) |
| | Multiplies two matrices (row-major): result = a * b.
|
| |
4×4 matrix (row-major layout: mRC is row R, column C).
◆ CopyTo()
| readonly void OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.CopyTo |
( |
Span< double > | destination | ) |
|
Copies this matrix to a row-major span of 16 doubles.
- Parameters
-
| destination | Destination span (length must be 16). |
- Exceptions
-
| ArgumentException | Thrown when destination .Length is not 16. |
◆ FromSpan()
| static Mat4d OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.FromSpan |
( |
ReadOnlySpan< double > | values | ) |
|
|
static |
Creates a Mat4d from a row-major span of 16 doubles.
- Parameters
-
| values | Row-major matrix elements (length must be 16). |
- Returns
- The constructed matrix.
- Exceptions
-
| ArgumentException | Thrown when values .Length is not 16. |
◆ Multiply()
| static Mat4d OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.Multiply |
( |
in Mat4d | a, |
|
|
in Mat4d | b ) |
|
static |
Multiplies two matrices (row-major): result = a * b.
- Parameters
-
| a | Left-hand matrix. |
| b | Right-hand matrix. |
- Returns
- The product
a * b.
◆ M00
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M00 |
◆ M01
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M01 |
◆ M02
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M02 |
◆ M03
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M03 |
◆ M10
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M10 |
◆ M11
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M11 |
◆ M12
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M12 |
◆ M13
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M13 |
◆ M20
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M20 |
◆ M21
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M21 |
◆ M22
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M22 |
◆ M23
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M23 |
◆ M30
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M30 |
◆ M31
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M31 |
◆ M32
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M32 |
◆ M33
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.M33 |
◆ Identity
| Mat4d OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.Identity |
|
staticget |
Gets the identity matrix.
- Returns
- 4×4 identity matrix.
◆ this[int row, int col]
| double OpenCVForUnity.Extensions.OpenCVARUtils.Mat4d.this[int row, int col] |
|
getset |
Gets or sets the element at the specified row and column.
- Parameters
-
| row | Row index (0..3). |
| col | Column index (0..3). |
- Returns
- The element at [row , col ].
- Exceptions
-
| ArgumentOutOfRangeException | Thrown when row or col is outside 0..3. |
The documentation for this struct was generated from the following file: