Description Usage Arguments Details Value Author(s) See Also Examples
Determination of whether each member of a set of bivariate points are inside a polygon.
1 | pointsInPoly(pointsCoords,polygon)
|
pointsCoords |
two-column matrix with each row specifying the (x,y) coordinates of a point. |
polygon |
two-column matrix with each row specifying the (x,y) coordinates of a vertex of a polygon. |
Geometric results are used to determine whether each of a set of bivariate points is inside or outside a polygon. A Boolean vector of indicators of whether or not each point is inside the polygon is returned.
A Boolean array with length equal to the number of rows in ‘pointsCoords’ corresponding to whether or not each of the corresponding points in 'pointCoords' are inside 'polygon'.
M.P. Wand matt.wand@uts.edu.au
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.