Description Usage Arguments Value Author(s) References

View source: R/findExteriorTangents.R

Determine the points of tangency for lines tangent to a pair of circles. Keep only tangents that do not intersect other circles or pass between circles

1 | ```
findExteriorTangents(center, r, i, j, rrange = c(-1, 1), krange = c(1, -1))
``` |

`center` |
a two-column numeric matrix of xy coordinates for center points for the set of circles |

`r` |
a numeric vector of the radii of the circles |

`i` |
a numeric pointer to a row in the matrix of xy coordinates for the centers. This points to the first circle of the pair |

`j` |
a numeric pointer to a row in the matrix of xy coordinates for the centers. This points to the second circle of the pair |

`rrange` |
a numeric value or two item numeric vector defining the tangents to be computed. Values are -1, 1, or c(1,-1). -1 returns the tangents that cross between the circles. 1 returns those that do not cross between the circles |

`krange` |
a numeric value or two item numeric vector defining the tangents to be computed. Values are -1, 1, or c(1,-1). |

a matrix with pairs of rows containing the starting and ending tangent points for line segments. Rows are identified by the circle on which they are located and the circle on which the other end point lies.

Elliot Noma

http://en.wikipedia.org/wiki/Belt_problem

PlotRegionHighlighter documentation built on May 30, 2017, 12:38 a.m.

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.