trackMidpts: Path Midpoints

Description Usage Arguments Details Value

View source: R/SGAT.R

Description

Midpoints of a path

Usage

1
trackMidpts(p, fold = FALSE)

Arguments

p

a two column matrix of (lon,lat) locations along the path.

fold

should the longitudes be folded into [-180,180).

Details

Compute the midpoints of a sequence of locations along a path.

Value

a two column matrix of (lon,lat) midpoints.


SWotherspoon/SGAT documentation built on June 8, 2017, 1:06 a.m.