GPS positioning uses a three-dimensional triangulation method (called trilateration) to determine the location of the GPS receiver. Knowing the distance and location of multiple GPS satellites, the receiver can mathematically calculate the intersections of three (or more) spheres to determine its own location, using geometry in three dimensions. Trilateration is explained at http://en.wikipedia.org/wiki/Trilateration.