diff --git a/头罩视野slove/头罩视野/Views/PageTest.xaml.cs b/头罩视野slove/头罩视野/Views/PageTest.xaml.cs index fc9ed6f..bbfc654 100644 --- a/头罩视野slove/头罩视野/Views/PageTest.xaml.cs +++ b/头罩视野slove/头罩视野/Views/PageTest.xaml.cs @@ -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))