An NDoc Documented Class Library

xyz.mul Method (Matrix)

Multiply the point with a matrix and returns the result This matrixmultiplication is often used in transformations.

public xyz mul(
   Matrix a
);

Parameters

a
Transformations matrix, which will be multiplied

Return Value

Transformed point

Remarks

The Matrix a must be a 4 X 4 matrix. So the 3D-point will be "lifted" to a 4D-Point by setting the fourth coordinate to 1. After the wellknown matrixmultiplication the coordinates are divided by the result in the fourth coordinate. On this way, it is for example possible, to transform a point by a matrix, who represents a perspectivly projection.

See Also

xyz Class | Minais.Drawing3d.Math Namespace | xyz.mul Overload List