cpp_pnt_in_gate: Point in Gate

View source: R/RcppExports.R

cpp_pnt_in_gateR Documentation

Point in Gate

Description

This function checks if points lie in a polygon or ellipse.

Arguments

pnts

NumericMatrix, a 2-columns matrix with (x and y) coordinates of the points of interest.

gate

NumericMatrix, a 2-columns matrix defining polygon vertices or ellipse boundaries.

algorithm

int, used for computation. Default is 1.
1: Trigonometry.
2: Special case = axes-aligned rectangle.
3: Special case = axes-aligned ellipse.

epsilon

double, epsilon threshold value. Default is 0.000000000001


IFC documentation built on Sept. 14, 2023, 1:08 a.m.