powered by
Surface of a sphere patch.
surface_spherePatch(r, phi1, phi2, theta1, theta2)
The surface of the sphere patch.
radius
numbers defining the latitudinal angle range
numbers defining the longitudinal angle range
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.
theta
phi
0 <= theta1 <= theta <= theta2 <= 2*pi
0 <= phi1 <= phi <= phi2 <= pi
surface_stri for the surface of a spherical triangle.
surface_stri
# 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))
Run the code above in your browser using DataLab