Description Usage Arguments Value Arguments details
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.
1 | intersection.line.curve(b, m, curve)
|
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. |
The intersections are returned as a dataframe of x, y coordinates.
b, m
Must be atomic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.