Rotation

Rotation(double)

Skapar matris för given rotationsvinkel.

public static Matrix Rotation(double alpha)
ParameterTypBeskrivning
alphaDoubleRotationsvinkel i radianer.

Returvärde

Transformationsmatris.

Exempel

Matrix m = Matrix.Rotation(Math.PI / 2);

Se även


Rotation(Rotation)

Skapar matris för given rotation.

public static Matrix Rotation(Rotation rotation)
ParameterTypBeskrivning
rotationRotationRotation. Giltiga värden är: None, on90, on180, on270

Returvärde

Matris med rotation.

Se även