Richard McDonald (richard++at++paradigmsim.com)
Fri, 04 Jun 1999 10:38:18 -0500
Given a sphere of radius R>0, the lat angle p, the long angle m,
the conversion to the cartesian system is:
x = Rcos(p)cos(m)
y = Rcos(p)sin(m)
z = Rsin(p)
p = arcsin(z/R)
m = arctan(y/x) x>0
> Thanks,
>
> sci
-- __________________________________________________________________richard++at++paradigmsim.com MultiGen/Paradigm Inc.
"Where's the KA-BOOM! There's supposed to be an Earth-shattering KA-BOOM." - Marvin the Martian, Hare-way to the Stars 1958. __________________________________________________________________
This archive was generated by hypermail 2.0b2 on Fri Jun 04 1999 - 08:34:00 PDT