Jump to content

Line 'Z' value from a point at zero elevation


Recommended Posts

Posted

Sunday night so my brain is asleep and I can't remember how I did this....

 

Given a point with 0 elevation how do I get the point including elevation of a line above it.

 

For example, my point: ( 5 5 0 ) is under the line (2 5 10) (8 5 20), I want the value between 10 and 20 corresponding (here it should be 15)

 

And I can't remember how!

Thanks for any tips

 

 

Posted

Its a ratio thing,

(dist1 / tot dist) so get horizontal distance between end points and the distance from say start point to point, in XY plane.

height of end points

So ((Ht1 - Ht2) * dist ratio) +  ht1. 

 

Check with calculator. 

 

  • Like 2
Posted

Thanks, will do it that way. I was thinking I'd seen a VLA- something somewhere, maybe not - your idea will work.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...