trackMidpts: Path Midpoints

View source: R/SGAT.R

trackMidptsR Documentation

Path Midpoints

Description

Midpoints of a path

Usage

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 1, 2022, 10:49 p.m.