PointToSegment.netTools function

Gives the shortest distance between an event and a set of segments.

Gives the shortest distance between an event and a set of segments.

PointToSegment(obj)

Arguments

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

Returns

distance vector to each segment

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

Useful links