rev2RH: Reverse to Right Hand

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/gravsub.R

Description

Reverse orientation of the vectors to a right handed polygon.

Usage

1
rev2RH(pol)

Arguments

pol

List with x and y components

Details

program reverses the order of the x and y components so they traverse in the oposite direction.

Value

list

Author(s)

Jonathan M. Lees<[email protected]>

See Also

dircheck, flipZEE

Examples

1
2
3
4
L=list()
L$x=c( 0.2188,-0.6668,-1.0992,-0.5105, 0.5106)
L$y=c( 0.76822, 0.75292,-0.01741,-0.74692,-0.48165)
rev2RH(L)

geophys documentation built on May 29, 2017, 3:05 p.m.