Description Usage Arguments Value Examples
View source: R/buffer_semicircle.R
Creates a semicircular polygon, wrapper around buffer_wedge(point, radius, degree, degree_width = 45)
1 | buffer_semicircle(point, radius, degree)
|
point |
Centre point of the buffer, must equal to true in: |
radius |
Radius of the buffer (numeric) |
degree |
The angle at which the wedge is centred (clockwise). Must be between 0 and 360 (numeric) |
An object of class sfc_POLYGON
1 2 3 4 5 6 | example_point = sf::st_point(c(1,2))
example_point = sf::st_sfc(example_point)
example_point = sf::st_sf(example_point)
buffer_semicircle(example_point, 200, 90) -> semicircular_buffer
plot(semicircular_buffer)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.