Files
LeafWeb/Core/Charter/XYPoint.cs
T
2015-12-07 12:38:58 -05:00

20 lines
320 B
C#

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