Skip to contents

Delineate the space surrounding a river

Usage

delineate_riverspace(
  river,
  occluders = NULL,
  density = 1/50,
  ray_num = 40,
  ray_length = 100
)

Arguments

river

List with river surface and centerline

occluders

Geometry of occluders

density

Density of viewpoints

ray_num

Number of rays

ray_length

Length of rays in meters

Value

Polygon geometry with the riverspace

Examples

if (FALSE) { # \dontrun{
  if (!requireNamespace("CRiSpData", quietly = TRUE)) {
    message("Install CRiSpData from GitHub to run this example.")
  } else {
    delineate_riverspace(CRiSpData::bucharest_osm$river_surface,
                        CRiSpData::bucharest_osm$buildings)
  }
} # }