Learn R Programming

intensitynet (version 1.3.1)

PointToSegment.netTools: Return the shortest distance between an event and a set of segments.

Description

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

Usage

PointToSegment(obj)

Value

distance vector to each segment

Arguments

obj

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