|GPMLX2 ( matrix, type)|
Use GPMLX2 to insert a two-dimensional, Set Modeling Transformation 2 structure element into the open structure following the element pointer or replace the element pointed at by the element pointer with a Set Modeling Transformation 2 structure element depending on the current edit mode.
When encountered during traversal, the 33 modeling matrix is expanded into a 44 matrix as follows:
|a b c| |a b 0 c| |d e f| ----> |d e 0 f| |g h i| |0 0 1 0| |g h 0 i|
Depending on the composition type, when this element is encountered during traversal, the specified matrix either replaces, is pre-concatenated with, or is post-concatenated with the current local modeling transformation matrix. The resultant matrix, in conjunction with the global modeling transformation, transforms all subsequent primitives from the Modeling Coordinate (MC) system to the World Coordinate (WC) system.
When inquired, the matrix returned by the Inquire Element Content ( GPQE) subroutine is the expanded 44 matrix; the matrix returned by the Inquire List of Element Data ( GPQED) subroutine is the 33 matrix.
For the transformation matrix, the elements must be in the following order:
|m11 m12 m13| |m21 m22 m23| ---> (m11,m12,m13,m21,m22,m23,m31,m32,m33) |m31 m32 m33|
201329666 ( X'0C000C02')