The Foundations of Euclidean Geometry