getDist: Find euclidean distance

Description Usage Arguments Value Examples

View source: R/misc.R

Description

Finds the euclidean distance between two points (ignoring projection)

Usage

1
getDist(p1, p2)

Arguments

p1

first point, x and y coordinate pair

p2

second point, x and y coordinate pair

Value

distance value

Examples

1
getDist(c(1, 2), c(3, 4))

IceCast documentation built on Aug. 16, 2017, 9:03 a.m.