distPoints: Calculate distance between two points.

View source: R/distPoints.R

distPointsR Documentation

Calculate distance between two points.

Description

Another rather superfluous helper function, internally used by smoothArc. Calculates the distance between two points.

Usage

distPoints(A, B)

Arguments

A

Vector of length two, indicating x and y of first point.

B

Vector of length two, indicating x and y of second point.

Value

Distance between the two points.

Author(s)

Lutz P Breitling <l.breitling@posteo.de>


dagR documentation built on Oct. 9, 2022, 5:06 p.m.