PageRenderTime 22ms CodeModel.GetById 20ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Main/src/DynamicDataDisplay/Transforms/DataDomains.cs

#
C# | 28 lines | 25 code | 3 blank | 0 comment | 0 complexity | 7a0d20bcec3cb4265358781637160c3d MD5 | raw file
Possible License(s): CC-BY-SA-3.0
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Text;
 5
 6namespace Microsoft.Research.DynamicDataDisplay
 7{
 8	public static class DataDomains
 9	{
10		private static readonly DataRect xPositive = DataRect.FromPoints(Double.Epsilon, Double.MinValue / 2, Double.MaxValue, Double.MaxValue / 2);
11		public static DataRect XPositive
12		{
13			get { return xPositive; }
14		}
15
16		private static readonly DataRect yPositive = DataRect.FromPoints(Double.MinValue / 2, Double.Epsilon, Double.MaxValue / 2, Double.MaxValue);
17		public static DataRect YPositive
18		{
19			get { return yPositive; }
20		}
21
22		private static readonly DataRect xyPositive = DataRect.FromPoints(Double.Epsilon, Double.Epsilon, Double.MaxValue, Double.MaxValue);
23		public static DataRect XYPositive
24		{
25			get { return xyPositive; }
26		} 
27	}
28}