Build a grid from three points.