View source: R/in_spheroid_function.R
in_spheroid | R Documentation |
Function that checks for each X-Y-coordinate pair, whether the point lies in a spheroid of a given center, radius and height. Works with single numbers or matrices of X- and Y-coordinates as input.
in_spheroid(Xcor, Ycor, Zcor, Xctr, Yctr, Zctr, radius, height)
Xcor |
X-coordinate of the point |
Ycor |
Y-coordinate of the point |
Zcor |
Z-coordinate of the point |
Xctr |
X-coordinate of the center |
Yctr |
Y-coordinate of the center |
Zctr |
Z-coordinate of the center |
radius |
...of the equator plain of the spheroid |
height |
...of the vertical axis of the spheroid |
boolean or matrix of booleans
Nikolai Knapp
in progress
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.