por_transformation_quat {tectonicr} | R Documentation |
Conversion between PoR to geographical coordinate system using quaternions
Description
Helper function for the transformation from PoR to geographical coordinate system or vice versa
Usage
geographical_to_PoR_quat(x, PoR)
PoR_to_geographical_quat(x, PoR)
Arguments
x , PoR |
two-column vectors containing the lat and lon coordinates |
Value
two-element numeric vector
Examples
ep.geo <- c(20, 33)
q.geo <- c(10, 45)
q.por <- geographical_to_PoR_quat(q.geo, ep.geo)
q.por
PoR_to_geographical_quat(q.por, ep.geo)
[Package tectonicr version 0.3.2 Index]