To map from some point on the sphere denoted by spherical coordinations (theta_1, phi_1) to (theta_2, ph_2).
where instead of the full range:
0 <= theta <= 180
0 <= phi <= 360
the ranges are limited by some theta_1, theta_2, phi_1, and phi_2:
theta_1 <= theta <= theta_2
phi_1...