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