Skip to contents

Converts North–East–Down direction cosines to the trend and plunge of the corresponding line in degrees.

Usage

CartToSphD(cn, ce, cd)

Arguments

cn

Numeric. North direction cosine.

ce

Numeric. East direction cosine.

cd

Numeric. Down direction cosine.

Value

A named numeric vector c(trd, plg) with trend and plunge in degrees.

References

Allmendinger, R. W., Cardozo, N., & Fisher, D. M. (2012). Structural geology algorithms: Vectors and tensors. Cambridge university press.

Examples

CartToSphD(cn = 0.707, ce = 0.5, cd = 0.5)
#>      trd      plg 
#> 35.26847 30.00000