bisect_line_segments2: Bisect line segments 2

Description Usage Arguments Details

Description

Improved version of bisect_line_segments that uses the polyline_splitter from jmt2080ad's github page

Usage

1
bisect_line_segments2(rivsplit, w, resolution, mid = FALSE)

Arguments

rivsplit

river centerline, split into segments

w

width to extend the bisectors on either side of the river centerline

resolution

resolution of bathymetry data (m)

mid

TRUE to use the middle line segment, FALSE to assume the line segment is straight

Details

When using mid = FALSE, this function implicitly assumes the line segments are not curved. The consequence of this is that the bisectors may not be somewhat off center, especially when the segments are relatively long. If line segments are relatively long, it is better to set mid = TRUE.


jschap1/WSEw documentation built on May 12, 2019, 10:50 a.m.