From 8e42aa624e6662205987e989684425336d405a84 Mon Sep 17 00:00:00 2001 From: rain Date: Tue, 5 May 2026 10:32:01 +0800 Subject: [PATCH] test --- 头罩视野slove/头罩视野/Views/PageTest.xaml.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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))