Spherical coordinate conversion
Details
acoscartesian coordinates are given as
a
deviation from x-axis E-W horizontal (angle in degrees)
b
deviation from y-axis N-S horizontal (angle in degrees)
c
deviation from z-axis vertical (angle in degrees)
Examples
if (FALSE) { # \dontrun{
# Stereographic coordinates (angle notation):
x <- rbind(
c(58, 78, 35),
c(47, 72, 47),
c(57, 68, 41),
c(56, 64, 45),
c(52, 65, 47),
c(61, 62, 51),
c(55, 60, 49),
c(61, 62, 42),
c(68, 52, 46),
c(42, 58, 65)
)
acoscartesian_to_cartesian(x)
acoscartesian_to_cartesian(x) |> to_spherical()
acoscartesian_to_cartesian(x) |> cartesian_to_acoscartesian()
} # }