Method CosSin
CosSin(int, out double, out double)
The cosine and sine of a placement's rotation.
public static void CosSin(int rotation, out double cos, out double sin)
Parameters
rotationintThe rotation in 60000ths of a degree, clockwise; any value.
cosdoubleReceives the cosine.
sindoubleReceives the sine.
Remarks
A quarter turn's are exact (0, 1 and -1), never what a runtime's Cos(double) makes of pi over two: the pictures a document most often turns are drawn identically on every runtime.