is.inside: Is Inside Polygon

View source: R/source.r

is.insideR Documentation

Is Inside Polygon

Description

Useful to determine if a set of coordinates lies inside or outside a closed polygon. Currently works for 2D coordinates such as x,y or lat,lon. Example box argument: box = data.frame(x = c(-1, 1, 1, -1), y = c(1, 1, -1, -1)).

Usage

is.inside(pos, box, verbose = FALSE)

Author(s)

Thomas Bryce Kelly


tbrycekelly/TheSource documentation built on Nov. 7, 2023, 12:48 a.m.