This commit is contained in:
@@ -140,7 +140,7 @@ namespace 头罩视野.Services
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
public static double CalculateEllipseArea(int[] lightData, List<(int m, int n)> lightPositions)
|
public static double CalculateEllipseArea(int[] lightData, List<(int m, int n)> lightPositions)
|
||||||
{
|
{
|
||||||
// 日志:方法入口
|
// 日志:方法入口
|
||||||
System.Diagnostics.Debug.WriteLine($"===== CalculateEllipseArea 开始 =====");
|
System.Diagnostics.Debug.WriteLine($"===== CalculateEllipseArea 开始 =====");
|
||||||
System.Diagnostics.Debug.WriteLine($"lightData.Length = {lightData?.Length ?? 0}");
|
System.Diagnostics.Debug.WriteLine($"lightData.Length = {lightData?.Length ?? 0}");
|
||||||
@@ -199,7 +199,7 @@ namespace 头罩视野.Services
|
|||||||
|
|
||||||
System.Diagnostics.Debug.WriteLine($"最终返回面积:{area}");
|
System.Diagnostics.Debug.WriteLine($"最终返回面积:{area}");
|
||||||
return area;
|
return area;
|
||||||
}
|
}
|
||||||
/// 生成设备全部243盏灯的(m,n)位置 上爪1条、下爪1条、左右共用1条,各81灯
|
/// 生成设备全部243盏灯的(m,n)位置 上爪1条、下爪1条、左右共用1条,各81灯
|
||||||
public static System.Drawing.Point GetLightPoint(int m, int n)
|
public static System.Drawing.Point GetLightPoint(int m, int n)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user