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

ELL_POINT_SEP

ELL_POINT_SEP

Name


      ELL_POINT_SEP

Purpose


      Distance in meters between two points given as structures.

Category


Calling Sequence


      sep = ell_point_sep(p1, p2)

Inputs


      p1, p2 = Two given points. in
        Points are structures: {lon:lon, lat:lat}.

Keyword Parameters


Keywords


        AZI=azi Returned 2 element array with azimuths [a1,a2]
          where a1 is azimuth from p1 to p2, and a2 is azimuth
          from p2 to p1.
        /CHECK_ZERO Check for 0 distance case. Will hang if
          the points are the same without this.

Outputs


      sep = Distance between the points in meters. out
        Distance is the ellipsoidal geodesic distance.

Common Blocks


Notes


Modification History


      R. Sterner, 2007 Aug 24
      R. Sterner, 2008 Nov 25 --- Added /CHECK_ZERO.
  Copyright (C) 2007, 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