Program: MKLSGRIDTRIEDGELEN

  mklsgridtriedgelen......determine edge lengths of a spherical triangle
 
  call: edgelens=mklsgridtriedgelen(lonlist,latlist,r);
 
                  lonlist: longitudes of triangle corners [deg]
                  latlist: latitudes of triangle corners [deg]
 
                           lonlist(i),latlist(i) gives the position of the
                           i-th corner of the triangle.
 
                        r: sphere radius [km]
 
  result: edglelens: vector containing the edge lengths of the triangle
                     in km.
                     edgelens(1) is the length from 1st to 2nd corner
                     edgelens(2) is the length from 2nd to 3rd corner
                     edgelens(3) is the length from 3rd to 1st corner
 
  Martin Knapmeyer, 14.09.2004

Read M-File Source Code


eof.