>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  ELL_GEO_2PTSEP
Libraries

ELL_GEO_2PTSEP

ELL_GEO_2PTSEP

Name


      ELL_GEO_2PTSEP

Purpose


      Find distance between two points along a geodesic.

Category


Calling Sequence


      d = ell_geo_2ptsep(p1, p2)

Inputs


      p1 = Point 1 on geodesic {lon:lon, lat:lat}. in
      p2 = Point 2 on geodesic {lon:lon, lat:lat}. in
        The points are in structures.

Keyword Parameters


Keywords


        AZI1=a1 Returned azimuth from p1 to pm.
        AZI2=a2 Returned azimuth from pm to p1.

Outputs


      d = Returned distance in meters. out

Common Blocks


Notes


      Note: p1 and p2 may be the same point and this will
        still work. The routine ell_ll2rb will not handle
        this case so use this instead.

Modification History


      R. Sterner, 2008 May 28
  Copyright (C) 2008, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us