PointToLine.netTools {intensitynet}R Documentation

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

Description

Gives the distance between an event and the line (not segment) formed by two nodes.

Usage

## S3 method for class 'netTools'
PointToLine(obj)

Arguments

obj

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

Value

the distance to the line


[Package intensitynet version 1.4.0 Index]