点绕点旋转 公式
发布网友
发布时间:2022-05-02 09:53
我来回答
共2个回答
热心网友
时间:2022-06-19 01:52
num00 = num00_, num01 = num01_, num10 = num10_, num11 = num11_;
ansx = ansx_, ansy = ansy_;
}
num00_ = num00 - 1, num01_ = num01, num10_ = num10, num11_ = num11 - 1;
ansy_ = (num10_ * ansx - num00_ * ansy) / (num01_ * num10_ - num00_ * num11_);
ansx_ = (ansx - num01_ * ansy_) / num00_;
ti = acos(num00);
if (num10 < 0)
ti = 2 * PI - ti;
printf("%.10lf %.10lf %.10lf\n", ansx_, ansy_, ti);
}
return 0;
}
热心网友
时间:2022-06-19 01:52
要具体的旋转长度