Learn R Programming

retistruct (version 0.6.3)

sphere.wedge.to.sphere.cart: Convert from 'wedge' to Cartesian coordinates

Description

This in the inverse of sphere.cart.to.sphere.wedge

Usage

sphere.wedge.to.sphere.cart(psi, f, phi0, R = 1)

Arguments

psi

vector of slice angles of N points

f

vector of fractional distances of N points

phi0

rim angle as colatitude

R

radius of sphere

Value

An N-by-3 matrix in which each row is the cartesian (X, Y, Z) coordinates of each point