Determine if a line intersects one or more line segments

A set of xy coordinates defining a circle or an arc on the circle

1 | ```
createCircle(center, r, n = 40, begin = 0, end = 2 * pi)
``` |

`center` |
a two-item vector of the x and y coordinates of the circle center |

`r` |
a numeric value defining the radius of the circle |

`n` |
a numeric value defining the number of points on the circle |

`begin` |
a numeric value for the starting angle of the circle or arc in radians |

`end` |
a numeric value for the ending angle of the circle or arc in radians |

a two-column matrix of xy coordinates for points on the circle or arc

Elliot Noma

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.