3d math

new topic     » goto parent     » topic index » view thread      » older message » newer message

I'm hoping someone here can help, as 3d math has always confused me.

Given an origin point {0,0,0}, an unknown destination point {x,y,z}, a
known distance d, and 2 out of 3 angles xy, yz, xz known and validated,
how can the destination point {x,y,z} be determined?

In 2D math, this is very simple:
x = d * sin(rad(xy))
y = d * cos(rad(xy))

where xy is in degrees, rad(v)= (2 * PI * v) / 360, and 0 degrees is 
defined as {0,y}.

I just don't know how to apply this to three dimensions to get a
consistently accurate solution.

TIA,
Michael J. Sabal

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu