distPoints {dagR}R 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>


[Package dagR version 1.2.1 Index]