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); }
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); }