prolate_spheroid | R Documentation |
Creates a prolate spheroid.
prolate_spheroid(
length_body,
radius_body,
length_radius_ratio = NULL,
n_segments = 18,
length_units = "m",
theta_units = "radians"
)
length_body |
Semi-major axis length (m). |
radius_body |
Semi-minor axis length (m). This can also be stylized as the "maximum radius" of the scattering object. |
length_radius_ratio |
Optional ratio input when radius is not explicitly known. |
n_segments |
Number of segments to discretize object shape. Defaults to 18 segments. |
length_units |
Units for body matrix (defaults to m). |
theta_units |
Units for body orientation (defaults to radians). |
Creates the position vector for a prolate spheroid object of defined semi-major and -minor axes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.