ptinpoly: Calculate if points are in the polynomial

View source: R/RcppExports.R

ptinpolyR Documentation

Calculate if points are in the polynomial

Description

Calculate if points are in the polynomial

Usage

ptinpoly(x, y, xp, yp, bb)

Arguments

x

- vector of x coordinates

y

- vector of y coordinates

xp

- vector of x coordinates of polynomial

yp

- vector of y coordinates of polynomial

bb

- matrix of bounding box of polynomial

Value

inout - vector of 1 if point is in polynomial and 0 if not


stpphawkes documentation built on April 4, 2025, 3:22 a.m.