test
This commit is contained in:
@@ -205,8 +205,8 @@ namespace 头罩视野.Views
|
||||
//2. 调用CalculateEllipseArea,传入两个参数
|
||||
double area = GetArea.CalculateEllipseArea(lightData, _lightPositions);
|
||||
totalArea += area;
|
||||
double bottomViewAngle = GetArea.CalculateBottomViewAngle(lightData, _lightPositions);
|
||||
totalBottomViewAngle += bottomViewAngle;
|
||||
//double bottomViewAngle = GetArea.CalculateBottomViewAngle(lightData, _lightPositions);
|
||||
//totalBottomViewAngle += bottomViewAngle;
|
||||
}
|
||||
UpdateVisionResults(totalArea, totalBottomViewAngle);
|
||||
}
|
||||
@@ -236,8 +236,8 @@ namespace 头罩视野.Views
|
||||
}
|
||||
|
||||
//// 4. 计算下方视野面积
|
||||
int botViAnInt = (int)Math.Round(BotViAn);
|
||||
xfsyarea.Text = botViAnInt.ToString("0.0"); // 下方视野
|
||||
//int botViAnInt = (int)Math.Round(BotViAn);
|
||||
//xfsyarea.Text = botViAnInt.ToString("0.0"); // 下方视野
|
||||
|
||||
// 5. 计算视野保存率(双目)
|
||||
if (double.TryParse(smsyarea.Text, out double totalAreaForRate))
|
||||
|
||||
Reference in New Issue
Block a user