sphere.spherical.to.sphere.cart: Convert from spherical to Cartesian coordinates
Description
Convert locations of points on sphere in spherical coordinates to
points in 3D cartesian space
Usage
sphere.spherical.to.sphere.cart(Ps, R = 1)
Arguments
Ps
N-by-2 matrix with columns containing latitudes
(phi
) and longitudes (lambda
) of N points
Value
An N-by-3 matrix in which each row is the cartesian (X, Y,
Z) coordinates of each point