create_beam: Create a beam starting from a central point

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/create_beam.R

Description

Create a beam starting from a central point

Usage

1
2
create_beam(UrbanCenter, BeamWidth = 10000, BeamLength = 70000,
  NSegments = 10, OffAngle = 0)

Arguments

UrbanCenter

a SpatialPoint object

BeamWidth

width of the beam in meters

BeamLength

length of the beam in meters

NSegments

number of segments of the beam

OffAngle

azimuth of the beam

Details

This function creates a beam object starting from a given UrbanCenter. The returned Beam is a SpatialPolygonsDataFrame and is unprojected in WGS84 (EPSG:4326). It consists of NSegments equally sized polygons of length BeamLength/NSegments and width BeamWidth. The UrbanCenter lies on the midpoint of the innermost edge of the innermost segment. From there, the beam extends for BeamLength meters at a true-north-azimuth of OffAngle, the edges of the beam forming a geodesic between its corners.

Value

SpatialPolygonsDataframe

Author(s)

Johannes Mast

See Also

create_beam, create_star_click, dest_point

Examples

1
create_beam(UrbanCenter)

JohMast/UrbanStars documentation built on May 28, 2019, 8:58 p.m.