void sphcyl_c ( SpiceDouble radius,
SpiceDouble colat,
SpiceDouble slon,
SpiceDouble * r,
SpiceDouble * lon,
SpiceDouble * z )
This routine converts from spherical coordinates to cylindrical
coordinates.
None.
CONVERSION, COORDINATES
VARIABLE I/O DESCRIPTION
  
radius I Distance of point from origin.
colat I Polar angle (colatitude in radians) of point.
slon I Azimuthal angle (longitude) of point (radians).
r O Distance of point from Z axis.
lon O angle (radians) of point from XZ plane.
z O Height of point above XY plane.
radius Distance of the point from origin.
colat Polar angle (colatitude in radians) of the point.
slon Azimuthal angle (longitude) of the point (radians).
r Distance of the point of interest from Z axis.
lon cylindrical angle (radians) of the point from the
XZ plane. `lon' is set equal to `slon'.
z Height of the point above XY plane.
None.
Error free.
None.
This returns the cylindrical coordinates of a point whose
position is input through spherical coordinates.
Other than the obvious conversion between coordinate systems
this routine could be used to obtain the axial projection
from a sphere to a cylinder about the zaxis that contains
the equator of the sphere. The following code fragment
illustrates this idea.
sphcyl_c ( radius, colat, lon, r, lon, z )
r = radius
r, lon, and z now contain the coordinates of the projected
point. Such a projection is valuable because it preserves the
areas between regions on the sphere and their projections to the
cylinder.
None.
None.
W.L. Taber (JPL)
E.D. Wright (JPL)
CSPICE Version 1.0.1, 26JUL2016 (BVS)
Minor headers edits.
CSPICE Version 1.0.0, 08FEB1998 (EDW)
spherical to cylindrical coordinates
