Function: matx2

Syntax

matx2 (<point>,<matrix>)

Type

point

Returns

The result of a 3-D point transformed by a 2 x 2 matrix. The Z coordinate of the point is left unchanged by the operation.

Parameters

Examples

Rotates a point through 45 degrees.

numeric mat[] = <0.707107,0.707107,-0.707107,0.70707>
point p1 = matx2(p2,mat)

See Also

Functions:

matx3 (numeric), matx4 (numeric)