Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Length of a line in 3 dimensions

  1. Oct 30, 2012 #1
    All,

    I am trying to determine the length of line across 3 dimensions (XYZ). My X&Y are WGS 84 coordinates and my Z value is HAE (Height Above Ellipsoid) in meters.

    I can determine the XY length on a plane, but how do I account for the additional length added by a change in Height?

    Example

    50,50,50 -- 60,60,50 -- 60,60,40, -- 70,70,40 -- 70,70,50 In this case you can see I can 10 meters in length between coordinate triplets 2 & 3 as well as between 4 & 5 even though they share the same XY values

    Does anyone have any thoughts on how to efficiently calculate this information?

    Thanks,
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted