简体   繁体   English

转换角度C#

[英]Convert Angle C#

I want to the convert an spinning angle on an Circle converted to another system. 我想将一个Circle上的旋转角度转换为另一个系统。 The Source System is seen on the left and the target on the right. 源系统在左侧,目标在右侧。 With which operation can I convert these angles? 我可以通过哪种操作转换这些角度?

在此处输入图片说明

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM