private Point LineIntersect(Edge edge, float x) { float y = edge.Slope * x + edge.B; return(new Point(x, y)); }