Learn R Programming

visor (version 0.1.1)

get_rays: Get rays from the viewpoints within a maximum isovist

Description

Get rays from the viewpoints within a maximum isovist

Usage

get_rays(viewpoints, ray_num = 40, ray_length = 100)

Value

object of class sf_LINESTRING

Arguments

viewpoints

object of class sf_POINT or sfc_POINT

ray_num

number of rays. The number of rays per quadrant needs to be a whole number, so ray_num will be rounded to the closest multiple of four

ray_length

length of rays