convert_a2e: Convert angle representation to R3

View source: R/sphere.R

convert_a2eR Documentation

Convert angle representation to R3

Description

The first angle, theta, is in 0, pi an describes longitude / the third coordinate. The second angle, phi, is in [0, pi) an describes latitude / rotation around the third axis.

Usage

convert_a2e(x)

Arguments

x

nx2

Value

nx3


chroetz/spheregr documentation built on April 10, 2022, 12:03 a.m.