Exemple #1
0
        public float VDataMax()
        {
            float vmax = 0;

            for (int i = 0; i < Point4Array.GetLength(0); i++)
            {
                for (int j = 0; j < Point4Array.GetLength(1); j++)
                {
                    for (int k = 0; k < Point4Array.GetLength(2); k++)
                    {
                        vmax = Math.Max(vmax, Point4Array[i, j, k]._mV);
                    }
                }
            }
            return(vmax);
        }
Exemple #2
0
        public float VDataMin()
        {
            float vmin = 0;

            for (int i = 0; i < Point4Array.GetLength(0); i++)
            {
                for (int j = 0; j < Point4Array.GetLength(1); j++)
                {
                    for (int k = 0; k < Point4Array.GetLength(2); k++)
                    {
                        vmin = Math.Min(vmin, Point4Array[i, j, k].V);
                    }
                }
            }
            return(vmin);
        }