proj_point_on_line: orthogonal projection of a point onto a line (2D)

View source: R/geometry_functions.R

proj_point_on_lineR Documentation

orthogonal projection of a point onto a line (2D)

Description

orthogonal projection of a point onto a line (2D)

Usage

proj_point_on_line(coord1, coord2, coord3)

Arguments

coord1

start coordinate of a line

coord2

end coordinate fo a line

coord3

coordinates of a point

Value

coordinates x,y


khufkens/junglerhythms documentation built on Jan. 4, 2024, 4:59 p.m.