Skip to contents

Convenience wrapper that accepts a data frame (or `TrajSet@data`) containing coordinates and evaluates the intersection between two rows.

Usage

line_circle_intercept_df(df, row_in, row_out)

Arguments

df

Data frame with `x` and `y` columns.

row_in, row_out

Row indices (or names) identifying the start and end of the vector.

Value

Tibble with `x_int`/`y_int`.