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

Description Usage Arguments Value Author(s)

View source: R/geometry.R

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

Latitudes of mesh points

lambda

Longitudes of mesh points

R

Radius of sphere

Tt

Triangulation

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


retistruct documentation built on April 4, 2020, 5:08 p.m.