Description Usage Arguments Value Examples
View source: R/determine_angles.R
Determine the angles (between three known points) as seen by an observer with a known position.
1 2 |
A |
A point defined by a vector containing an x- and an y-coordinate |
B |
A point defined by a vector containing an x- and an y-coordinate |
C |
A point defined by a vector containing an x- and an y-coordinate |
observer_position |
A vector containing an x- and an y-coordinate |
output_plot |
Boolean variable indicating whether a plot should be created |
lines_in_plot |
Boolean variable indicating whether lines should be drawn in the plot |
angles_in_plot |
Boolean variable indicating whether the angles should be printet in the plot |
decimals_in_plot |
Integer indicating the number of decimals used |
The angles as seen by the observer expressed in radians.
1 2 3 4 |
observer_angle_AB observer_angle_AC observer_angle_BC
2.731465 2.060754 1.490966
observer_angle_AB observer_angle_AC observer_angle_BC
0.2485586 0.1282323 0.1203263
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.