Learn R Programming

unfoldr (version 0.2)

sectionProfiles: Constuctor section profiles

Description

Storing structure for section profiles

Usage

sectionProfiles(size, angle, type = c("prolate", "oblate"))

Arguments

size
matrix of major and minor axes sizes
angle
orientation angle
type
prolate or oblate, default class is prolate

Value

  • section profiles object, either of class prolate or oblate

Details

The function aggregates the necessary data for the trivariate unfolding procedure either for type prolate or oblate spheroids. Argument size is a numeric matrix containing the axes lengths as columns. The angle is the orientation angle between the major axis and the vertical axis direction in the section plane. If the angles range within $[0,2\pi]$ these are transformed to $[0,\pi/2]$. The function returns a list which consists of either longer or shorter axis A of section profiles corresponding to the type of spheroids which are intended to be reconstructed, the aspect ratio as the shape parameter S with values in $(0,1]$, and the orientation angle alpha.