| path_circle {cursr} | R Documentation |
Path of a Circle
Description
Calculate the path of a circle in a grid.
Usage
path_circle(yx, r = 1, n = 50)
Arguments
yx |
center |
r |
radius of the circle in grid points |
n |
number of points along curve to calculate |
Value
Nx2 matrix of (row, column) coordinates
See Also
Other path-fitting functions:
path_arc(),
path_bezier(),
path_ellipse(),
path_fill(),
path_fn(),
path_intersection(),
path_lerp(),
path_ray(),
path_rect(),
path_shape()
Examples
path_circle(yx=c(10,10), r=5)
[Package cursr version 0.1.0 Index]