An NDoc Documented Class Library

LineType Multiplication Operator 

Transforms a LineType by a transformation M.

public static LineType operator *(
   LineType L,
   Matrix M
);

Parameters

L
LineType, which will transformed
M
Transformation

Return Value

Example

Matrix M = Matrix.Translation( new xyz(3, 2, 4));
LineType L = new LineType (new xyz(1, 1, 1), new xyz (2, 1, 3)).
L = L * M;

// L.P is now ( 4, 3, 5)
// L.Direction is still (2, 1, 3)

See Also

LineType Class | Minais.Drawing3d.Math Namespace | mul