duheng
2025-03-28 dfe7e1653f8309e23e4c314cd58ac4ff7ce49dbc
WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Common/MathSolver.cs
@@ -6,12 +6,12 @@
using System.Text;
using System.Threading.Tasks;
namespace Yw.WinFrmUI.Q3D
namespace Yw.WinFrmUI.Q3d
{
    public class MathSolver
    {
        static double ErrNum = -1;
        public static List<double> Solve(double a,double b,double c)
        public static List<double> Solve(double a, double b, double c)
        {
            // 求解二次方程 ax^2 + bx + c = 0
            double delta = b * b - 4 * a * c;
@@ -27,7 +27,7 @@
                return null;
            }
        }
        public static List<double> Solve(double a,double b,double c,double d)
        public static List<double> Solve(double a, double b, double c, double d)
        {
            double[] roots = null;
            roots = new double[3];