An NDoc Documented Class Library

LineType2d Multiplication Operator 

Transforms a LineType2d by a transformation M.

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

Parameters

M
Transformation
L
LineType2d, which will transformed

Return Value

Example

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

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

See Also

LineType2d Class | Minais.Drawing3d.Math Namespace | mul