View source: R/generate_directions.R
generate_equidistributed_cones | R Documentation |
Generate cones that are equidistributed about the sphere. We first generate equidistributed points, then use the rodrigues angle formula to compute cones about those points.
generate_equidistributed_cones(num_directions, cap_radius, directions_per_cone)
num_directions |
(int): The number of equidistributed directions we want on the sphere. |
cap_radius |
(float): The radius of the cones we generate (determines the size of each cone). |
directions_per_cone |
(int): The number of directions we want generated within each cone. |
directions (num_directions*directions_per_cone x 3 matrix): A matrix of equidistributed cones.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.