PageRenderTime 39ms CodeModel.GetById 18ms RepoModel.GetById 0ms 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
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Microsoft.Research.DynamicDataDisplay
  6. {
  7. public static class DataDomains
  8. {
  9. private static readonly DataRect xPositive = DataRect.FromPoints(Double.Epsilon, Double.MinValue / 2, Double.MaxValue, Double.MaxValue / 2);
  10. public static DataRect XPositive
  11. {
  12. get { return xPositive; }
  13. }
  14. private static readonly DataRect yPositive = DataRect.FromPoints(Double.MinValue / 2, Double.Epsilon, Double.MaxValue / 2, Double.MaxValue);
  15. public static DataRect YPositive
  16. {
  17. get { return yPositive; }
  18. }
  19. private static readonly DataRect xyPositive = DataRect.FromPoints(Double.Epsilon, Double.Epsilon, Double.MaxValue, Double.MaxValue);
  20. public static DataRect XYPositive
  21. {
  22. get { return xyPositive; }
  23. }
  24. }
  25. }