Calculate the zenith angle from xyz coordinates
Calculate a zenith angle between two segments from 3d (i.e x,y,z) coordinates
angle3d(o, a, b)
o |
3d coordinates of the common point of the two segments |
a |
3d coordinates of the other point of segment a |
b |
3d coordinates of the other point of segment b |
The angle in degree
origin=c(0,0,0) a=c(0,0,1) b=c(1,0,0) angle3d(o=origin,a=a,b=b)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.