create_occluder: Create a polygon representing an occluder

View source: R/utils.R

create_occluderR Documentation

Create a polygon representing an occluder

Description

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)

visor documentation built on April 11, 2025, 6:04 p.m.