Create a polygon representing an occluder
Usage
create_occluder(center_x, center_y, length, width)
Arguments
- center_x
Center x coordinate
- center_y
Center y coordinate
- length
Length of the occluder
- width
Width of the occluder
Value
object of class sfc_POLYGON
Examples
occluder <- create_occluder(0, 0, 10, 2)