Files
LeafWeb/Core/Charter/XYPoint.cs
T
2015-12-04 10:15:51 -05:00

20 lines
348 B
C#

namespace LeafWeb.Core.Charter
{
public class XyPoint
{
public XyPoint(string x, string y)
{
X = double.Parse(x);
Y = double.Parse(y);
}
public double X { get; private set; }
public double Y { get; private set; }
public bool YIsInRange(double lowEnd, double highEnd)
{
return (Y >= lowEnd) && (Y <= highEnd);
}
}
}