inc_path: increment pathway

Description Usage Arguments Value See Also

View source: R/spat.R

Description

given a matrix of coordinates represented a line, returns a line path incremented into segments of approximately unit length. not for use on branching line paths. given a matrix of coordinates representing a path or line take the bearing and length of each segment divide the segment into length-1 points for each point along the segment, calculate the x and y position return a new path consisting containing all old and new x and y values the purpose of this function is to increment along the channel line so I can take more transects and get a finer resolution of detail on the channel

Usage

1
inc_path(coords)

Arguments

coords

is a matrix of (x,y) coordinate pairs

Value

line path incremented into segments appr unit value in length

See Also

tri_length


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.