PointToSegment_deprecated.netTools {intensitynet}R Documentation

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

Description

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

Usage

PointToSegment_deprecated(obj)

Arguments

obj

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

Value

distance to the segment


[Package intensitynet version 1.4.0 Index]