
               as the polar angle).

               [1,n] = size(colat); double = class(colat)

      lon      the value(s) describing the angle of the projection of the
               point to the XY plane from the positive X-axis, measured
               in radians, with range:

                   -pi &lt; lon &lt;= pi

               The positive Y-axis is at longitude PI/2 radians.

               [1,n] = size(lon); double = class(lon)

   the call:

       rectan = <b>cspice_sphrec</b>( r, colat, lon)