bary.to.sphere.cart: Convert barycentric coordinates of points in mesh on sphere...

Description Usage Arguments Value Author(s)

Description

Given a triangular mesh on a sphere described by mesh locations (phi, lambda), a radius R and a triangulation Tt, determine the Cartesian coordinates of points cb given in barycentric coordinates with respect to the mesh.

Usage

1
bary.to.sphere.cart(phi, lambda, R, Tt, cb)

Arguments

phi

Lattitudes of mesh points

lambda

Longitudes of mesh points

R

Radius of sphere

Tt

Triagulation

cb

Object returned by tsearch containing information on the triangle in which a point occurs and the barycentric coordinates within that triangle

Value

An N-by-3 matrix of the Cartesian coordinates of the points

Author(s)

David Sterratt



Search within the retistruct package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.