PointToLine.netTools: Gives the distance between an event and the line formed by...

View source: R/netTools.R

PointToLine.netToolsR 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


intensitynet documentation built on April 11, 2023, 6:07 p.m.