Initial Commit

This commit is contained in:
2024-02-23 00:46:06 -05:00
commit 2bbedc0178
470 changed files with 46035 additions and 0 deletions

View File

@@ -0,0 +1,75 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace Microsoft.Research.DynamicDataDisplay.DataSources.MultiDimensional
{
/// <summary>
/// Defines empty two-dimensional data source.
/// </summary>
/// <typeparam name="T"></typeparam>
public sealed class EmptyDataSource2D<T> : IDataSource2D<T> where T : struct
{
#region IDataSource2D<T> Members
private T[,] data = new T[0, 0];
public T[,] Data
{
get { return data; }
}
private Point[,] grid = new Point[0, 0];
public Point[,] Grid
{
get { return grid; }
}
public int Width
{
get { return 0; }
}
public int Height
{
get { return 0; }
}
private void RaiseChanged()
{
if (Changed != null)
{
Changed(this, EventArgs.Empty);
}
}
public event EventHandler Changed;
#endregion
#region IDataSource2D<T> Members
public Microsoft.Research.DynamicDataDisplay.Charts.Range<T>? Range
{
get { throw new NotImplementedException(); }
}
public T? MissingValue
{
get { throw new NotImplementedException(); }
}
#endregion
#region IDataSource2D<T> Members
public IDataSource2D<T> GetSubset(int x0, int y0, int countX, int countY, int stepX, int stepY)
{
throw new NotImplementedException();
}
#endregion
}
}