s2cap | R Documentation |
Define spherical cap
s2cap(axis, height, dist, ..., simplify = TRUE)
axis |
Axis (or centre) of the cap in a format acceptable to |
height |
Numeric of length one defining the height of the cap. Should be
positive and at most twice the radius of the sphere. Not compatible with
|
dist |
Numeric of length one defining the extend of the cap. All points
on the sphere within distance |
... |
Arguments passed on to
|
simplify |
Logical. Whether to simplify to full sphere if the cap extends over the full sphere. |
Object of class "s2cap"
and "s2region"
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.