PointToSegment.netTools {intensitynet}R Documentation

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

Description

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

Usage

PointToSegment(obj)

Arguments

obj

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

Value

distance vector to each segment


[Package intensitynet version 1.4.0 Index]