PointToLine.netTools function

Gives the distance between an event and the line formed by two nodes.

Gives the distance between an event and the line formed by two nodes.

Gives the distance between an event and the line (not segment) formed by two nodes.

## S3 method for class 'netTools' PointToLine(obj)

Arguments

  • obj: netTools object -> list(p1:c(coordx, coordy), p2:c(coordx, coordy), e:c(coordx, coordy))

Returns

the distance to the line

  • Maintainer: Pol Llagostera
  • License: GPL-3
  • Last published: 2023-04-11

Useful links