Kingpin
Kingpin

Reputation: 1097

Convert Angle C#

I want to the convert an spinning angle on an Circle converted to another system. The Source System is seen on the left and the target on the right. With which operation can I convert these angles?

enter image description here

Upvotes: 0

Views: 293

Answers (1)

Ulugbek Umirov
Ulugbek Umirov

Reputation: 12797

double rightAngle = 90 - leftAngle;
if (rightAngle < 0)
  rightAngle += 360;

Upvotes: 5

Related Questions