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

ELL_GEO_MID

ELL_GEO_MID

Name


      ELL_GEO_MID

Purpose


      Find midpoint between two points along a geodesic.

Category


Calling Sequence


      pm = ell_geo_mid(p1, p2)

Inputs


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

Keyword Parameters


Keywords


        AZI1=a1 Returned azimuth from p1 to pm.
        AZI2=a2 Returned azimuth from pm to p1.
        MDIST=mdist midpoint distance to p1 or p2 (m).

Outputs


      pm = Returned midpoint {lon:lon, lat:lat}. out

Common Blocks


Notes


Modification History


      R. Sterner, 2006 Mar 09
      R. Sterner, 2006 Sep 25 --- Switched to function using structures.
      R. Sterner, 2007 Aug 05 --- Added new keyword AZIMUTH.
      R. Sterner, 2007 Aug 20 --- Changed the returned azimuth
      to azi1=a1, azi2=a2.
      R. Sterner, 2009 Dec 28 --- Added MDIST=mdist.
  Copyright (C) 2006, 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