R/polylineLength.R

Defines functions polylineLength

Documented in polylineLength

polylineLength <- function(xy) {
  # purpose
  #   obtain the length of a polyline given as a 2-col matrix of coordinates
  chai <- polylineChainage(xy)
  l <- max(chai)
}
garciapintado/SpatialGraph documentation built on July 29, 2023, 4:39 p.m.