short_side: short_side

Description Usage Arguments Value

View source: R/utils.R

Description

Given two points on a polygon, return the shorter path between them.

Usage

1
short_side(x, y, circle)

Arguments

x

is a point with elements c(x, y)

y

is a point with elements c(x, y)

circle

is a matrix of polygon coordinates

Value

the subset of 'circle' containing the shorter path between 'x' and 'y'


crumplecup/riparian documentation built on April 14, 2021, 1:43 p.m.