ABSTRACT

At the heart of an accurately rendered virtual globe is an ellipsoidal representation of Earth. This chapter introduces the motivation and mathematics for such a representation, with a focus on building a reusable Ellipsoid class containing functions for computing surface normals, converting between coordinate systems, computing curves on an ellipsoid surface, and more.