dist2dCPP: Distance from a point to a line linked by two other points...

Description Usage Arguments Value Examples

Description

Distance from a point to a line linked by two other points C++ version.

Usage

1
dist2dCPP(a, b, c)

Arguments

a

a numeric vetor with length 2.

b

a numeric vetor with length 2.

c

a numeric vetor with length 2.

Value

real-valued Eucleadian distance from point a to the line linking b and c.

Examples

1
dist2dCPP(c(1,1),c(0,0),c(0,1))

platypus1989/PathMatch documentation built on May 15, 2019, 5:51 p.m.