Skip to contents

Fault from plane and rake

Usage

fault_from_rake(p, rake, sense = NULL)

Arguments

p

plane object

rake

Angle in degrees

sense

(optional) integer. Sense of the line on a fault plane. Either 1or -1 for normal or thrust offset, respectively.

Value

returns a "Pair" object if sense=NULL, otherwise a "Fault" object

Examples

fault_from_rake(Plane(c(120, 120, 100), c(60, 60, 50)), c(84.7202, -10, 30), sense = c(1, -1, 1))
#>      dip_direction dip   azimuth    plunge sense
#> [1,]           120  60 109.52858 59.581591     1
#> [2,]           120  60 204.96163  8.649165    -1
#> [3,]           100  50  30.36057 22.521012     1
#> attr(,"class")
#> [1] "fault" "pair"