Learn R Programming

retistruct (version 0.5.11)

Rcart: Restore points to spherical manifold

Description

Restore points to spherical manifold after an update of the Lagrange integration rule

Usage

Rcart(P, R, Rset, i0, phi0, lambda0)

Arguments

P

Point positions as N-by-3 matrix

R

Radius of sphere

Rset

Indicies of points on rim

i0

Index of fixed point

phi0

Cutoff of curtailed sphere in radians

lambda0

Longitude of fixed point on rim

Value

Points projected back onto sphere