SET CS MATRIX: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[:Category:Coordinate_Systems|{{Up}}]]
{{Command|syntax=SET_CS_MATRIX <cs number>, <matrix array>
{{Command|syntax=SET_CS_MATRIX <cs number>, <matrix array>
|description=*DESCRPTION*
|description=:Set the transformation matrix that defines a CS.


|param1=<cs number>|param1_desc=
|param1=<cs number>|param1_desc={{cs number}}
|param2=<matrix array>|param2_desc=
|param2=<matrix array>|param2_desc={{parameter_variable_matrix}}.
}}
}}


===Example===
===Example===
:- SET_CS_MATRIX
:LOCAL Mat1(12)
:GET_IDENTITY_MATRIX Mat1
:Mat1(1) = 3;
<br>
:SET_CS_MATRIX 4, Mat1
<br>
:This sets the transformation matrix used to define CS 4.


[[Category:Coordinate_Systems]]
[[Category:Coordinate_Systems]]

Latest revision as of 19:52, 12 January 2011

Up

Command

SET_CS_MATRIX <cs number>, <matrix array>


Set the transformation matrix that defines a CS.

Parameters

<cs number>
CS number.
<matrix array>
Name of Matrix variable.

Example

LOCAL Mat1(12)
GET_IDENTITY_MATRIX Mat1
Mat1(1) = 3;


SET_CS_MATRIX 4, Mat1


This sets the transformation matrix used to define CS 4.