ptinpoly {stpphawkes}R 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


[Package stpphawkes version 0.2.1 Index]