Learn R Programming

intensitynet (version 1.3.1)

PointToSegment_deprecated.netTools: Return the shortest distance between an event and the segment formed by two nodes.

Description

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

Usage

PointToSegment_deprecated(obj)

Value

distance to the segment

Arguments

obj

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