Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

angle3d

Calculate the zenith angle from xyz coordinates


Description

Calculate a zenith angle between two segments from 3d (i.e x,y,z) coordinates

Usage

angle3d(o, a, b)

Arguments

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

Value

The angle in degree

Examples

origin=c(0,0,0)
a=c(0,0,1)
b=c(1,0,0)

angle3d(o=origin,a=a,b=b)

aRchi

Quantitative Structural Model ('QSM') Treatment for Tree Architecture

v1.0.5
CeCILL
Authors
Olivier Martin
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.