surface_spherePatch {uniformly}R Documentation

Sphere patch surface

Description

Surface of a sphere patch.

Usage

surface_spherePatch(r, phi1, phi2, theta1, theta2)

Arguments

r

radius

phi1, phi2

numbers defining the latitudinal angle range

theta1, theta2

numbers defining the longitudinal angle range

Details

A sphere patch is the part of the sphere whose polar angles theta and phi satisfy 0 <= theta1 <= theta <= theta2 <= 2*pi and 0 <= phi1 <= phi <= phi2 <= pi.

Value

The surface of the sphere patch.

See Also

surface_stri for the surface of a spherical triangle.

Examples

# surface of the first orthant:
surface_spherePatch(r=1, phi1=0, phi2=pi/2, theta1=0, theta2=pi/2)
surface_stri(r=1, c(1,0,0), c(0,1,0), c(0,0,1))

[Package uniformly version 0.5.0 Index]