#include "LtPrimitives.h"
L_LTKRN_API L_VOID L_Matrix_Identity(matrix)
L_MATRIX* matrix; |
pointer to the structure to test |
Sets the values of the specified L_MATRIX structure to identity.
Parameter | Description | |
matrix | Pointer to the L_MATRIX to test. |
None.
An identity matrix has a value of 1 in coefficients [1,1],[2,2],[3,3] and a value of 0 in the rest of the coefficients. This correlates to setting m11 and m22 to 1 and m12, m21, offsetX, and offsetY to 0.
In an affine matrix, coefficients [3,1],[3,2],[3.3] are implied to always have the values 0,0,1 respectively.
1 | 0 | 0 |
0 | 1 | 0 |
0 | 0 | 1 |
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64, Linux.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET