Learn R Programming

retistruct (version 0.5.11)

projectToSphere: Project mesh points in the flat outline onto a sphere

Description

This takes the mesh points from the flat outline and maps them to the curtailed sphere. It uses the area of the flat outline and phi0 to determine the radius R of the sphere. It tries to get a good first approximation by using the function stretchMesh.

Usage

projectToSphere(r)

Arguments

r

Outline object to which the following information has been added with mergePointsEdges:

Pt

The mesh point coordinates.

Rsett

The set of points on the rim.

A.tot

The area of the flat outline.

Value

reconstructedOutline object containing the following extra information

phi

Lattitude of mesh points.

lmabda

Longitude of mesh points.

R

Radius of sphere.