proj: Calculate the projection from a point to a directed segment.

View source: R/trajectory.R

projR Documentation

Calculate the projection from a point to a directed segment.

Description

Calculate the projection from a point to a directed segment.

Usage

proj(d, x0, y0, xstart, ystart)

Arguments

d

The distance from the point to the segment.

x0

x-coordinate of the point

y0

y-coordinate of the point

xstart

The starting point of a line segment X coordinate.

ystart

The end point of a line segment Y coordinate.


YeehanXiao/STREAM documentation built on Aug. 13, 2022, 6:43 p.m.