Perpendicular Transect (helper function for perpendicular_transects)

perpendicular_transect(pair = sf::st_multipoint(), length = numeric())

Arguments

pair

An sf multipoint containing two points along a stream or profile line

length

The length of transect to create

Value

An sf linestring transect, halfway between the two input points in pair, angled perpendicular to their alignment, measuring length length.