Euclidean and non-Euclidean geometries : development and history