Java Script Routines
is not Java, which is a full programing language and can also be used
on web pages. The name is the most the two have in common.
pages. It has no variable types etc. Java, which was developed by
SUN, is strongly typed. If you don't know these words, it
safer to enable Jscript in a browser than Java.
The Jscript code available here was developed for
interactive exercises in geodesy. They are limited, but might be
of use to some. I have also included a note I wrote to highlight
some key items about Jscript programing.
The source code is available in the Jscript Zip File
Here is a short list of the functions available in the
Setting up ellipsoid
Earth Radii (rearth, Rn,Rm)
Molodensky (abridged) datum transform
xyz to Lat, Lon, height
3-vector utilities (dot,cross, magnitude, etc)
Utilities, - day-of-year to/from month,day,year
some formating for printing numbers