powered by
Create a polygon representing an occluder
create_occluder(center_x, center_y, length, width)
object of class sfc_POLYGON
Center x coordinate
Center y coordinate
Length of the occluder
Width of the occluder
occluder <- create_occluder(0, 0, 10, 2)
Run the code above in your browser using DataLab