示例#1
0
 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)
         });
     }
 }
示例#2
0
 public void ClearTables()
 {
     ApproxTable.Clear();
 }