surface_spherePatch | R Documentation |

Surface of a sphere patch.

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

`r` |
radius |

`phi1, phi2` |
numbers defining the latitudinal angle range |

`theta1, theta2` |
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`

.

The surface of the sphere patch.

`surface_stri`

for the surface of a spherical triangle.

```
# 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))
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.