pointonline: See if point is on Line

Description Usage Arguments Details

View source: R/SG.R

Description

See if point is on Line

Usage

1
pointonline(point, line_start, line_end)

Arguments

point

pair of coordinates (x,y)

line_start

pair of coordinates (x,y)

line_end

pair of coordinates (x,y)

Details

See http://rstudio-pubs-static.s3.amazonaws.com/12524_7de6eb887f2945389c5d12869388be14.html for explanation and original code


trevorjwilli/streamgradientR documentation built on Dec. 31, 2020, 8:46 a.m.