Description Usage Arguments Value
View source: R/trianglePrimitives.R
Point in triangle test.
1 2 3 | pointInTriangle(x, pt)
pointBary(x, pt)
|
x |
gris object with triangulation |
pt |
matrix of xy coordinates |
for PointInTriangle, the index of triangle for each point, in vertex_ form for PointBary, the table of barycentric coordinates and vertex_ index
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.