Table of Contents

Method CosSin

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

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

rotation int

The rotation in 60000ths of a degree, clockwise; any value.

cos double

Receives the cosine.

sin double

Receives 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.