double drg = double.Parse(textBox1.Text);
double r = double.Parse(textBox2.Text);
XM atr=new XM();
double rad = atr.zhuanhudu(drg);
double T, L, E, q;
T = r * Math.Tan(rad / 2);
textBox5.Text = Math.Round(T, 3).ToString();
L = rad * r;
textBox6.Text = Math.Round(L, 3).ToString();
E = r * ((1 / Math.Cos(rad / 2)) - 1);
textBox7.Text = Math.Round(E, 3).ToString();
q = 2 * T - L;
textBox8.Text = Math.Round(q, 3).ToString();
string s = textBox3.Text;
string s1= s.Trim().ToUpper(); //清除空格,大写里程数的字母
int k1 = s1.IndexOf('K');//记录下字符串K的位置
int k2 = s1.IndexOf('+'); //记录下字符串+的位置
string sc = s1.Substring
基于c#窗体程序实现偏角法计算圆曲线细部点放样程序设计
最新推荐文章于 2023-08-20 15:24:44 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)