R/main.R
arrow_head_reuleaux.Rd
Make reuleaux polygons
arrow_head_reuleaux( n = 3, rotate = 0, rescale = c(1, 1), nudge = c(0, 0), transformations = c("unitizer", "rotater", "rescaler", "nudger"), plot = FALSE )
number of vertices
rotation angle in radians
a single value or 2-length vector for scaling in x and y
a single value or 2-length vector for nudging in x and y
a vector of transformation functions
plot arrowhead if TRUE
a matrix
triangle <- arrow_head_reuleaux(plot = TRUE) diamond <- arrow_head_reuleaux(n = 4, plot = TRUE) acute_triangle <- triangle <- arrow_head_reuleaux(rescale = c(1, .5), plot = TRUE) sharp_diamond <- arrow_head_reuleaux(n = 4, rescale = c(1, .4), plot = TRUE)