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 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.