intersection.line.curve: Finds the points where a straight line, given lines as...

Description Usage Arguments Value Arguments details

Description

Finds the points where a straight line, given lines as intercept b then slope m, intersects with a curve defined by a sequence of segments.

Intersections must be found for the line with every segment, then every one checked with is.between.

Usage

1

Arguments

b

Intercept.

m

Slope.

curve

Curve defined by a sequence of segments. Must be a dataframe with columns x, y (or capital X, Y). having any number of segments.

Value

The intersections are returned as a dataframe of x, y coordinates.

Arguments details


forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.