PointToSegment_deprecated.netTools function

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

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

PointToSegment_deprecated(obj)

Arguments

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

Returns

distance to the segment

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

Useful links