public void SetTableBuf(byte[] bytesX, byte[] bytesY, int count) { ApproxTable.Clear(); for (int i = 0; i < count; i++) { ApproxTable.Add(new ApproxValues() { XVal = BitConverter.ToSingle(bytesX, i * 4), YVal = BitConverter.ToSingle(bytesY, i * 4) }); } }
public void ClearTables() { ApproxTable.Clear(); }