expand_lines: Function to expand both extremities of a line:

Description Usage Arguments Examples

View source: R/trial_geom.R

Description

Function to expand both extremities of a line:

Usage

1
expand_lines(lines, dst = 10000)

Arguments

line

of class 'sfc' to be expanded

length

of class 'numeric' to expand line by

Examples

1
2
3
4
5
6
7
## Not run: 
line <- ablines[1, ]
line_exp <- expand_line(line, 1000)
st_length(line)
st_length(line_exp)

## End(Not run)

RodrigoAgronomia/PAR documentation built on Jan. 19, 2020, 8:51 p.m.