Learn R Programming

aRchi (version 2.1.3)

dist2line: Internal function to compute the distance of point b to segment ac

Description

Internal function to compute the distance of point b to segment ac

Usage

dist2line(a, b, c)

Value

the distance of point b to segment ac

Arguments

a

a vector containing the xyz coordinates of a point

b

a vector containing the xyz coordinates of a point

c

a vector containing the xyz coordinates of a point