IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
TransformationMatrix3D.cs
Go to the documentation of this file.
2
12public class TransformationMatrix3D : Matrix<float>
13{
19 : base(4, 4)
20 {
21 for (uint i = 0; i < 4; i++)
22 {
23 this[i, i] = 1f;
24 }
25 }
26
34 public TransformationMatrix3D(float[,] matrixValues)
35 : base(4, 4, matrixValues)
36 {
37 }
38
39 internal TransformationMatrix3D(float[] matrix) : base(4, 4,
40 matrix)
41 {
42 }
43
44 internal float[] ToCType()
45 {
46 return Flatten();
47 }
48}
Represents a generic 2D matrix of elements with a specified number of rows and columns.
Definition Matrix.cs:19
A transformation matrix is a square matrix that, when multiplied by the coordinates of a geometric ob...
TransformationMatrix3D(float[,] matrixValues)
Creates a matrix from the specified values.