inVT | R Documentation |
This function is used to decided whether a point is inside of a given triangulation.
inVT(V0, Tr0, xx, yy)
V0 |
The |
Tr0 |
The triangulation matrix of dimention |
xx |
The x-cooridinate of points of dimension |
yy |
The y-cooridinate of points of dimension |
This R program is modified based on the Matlab program written by Ming-Jun Lai from the University of Georgia and Li Wang from the Iowa State University.
A list of vectors, including:
ind |
A vector of dimension |
ind.inside |
A vector contains the indexes of all the points which are inside the triangulation. |
xx=c(-0.25,0.75,0.25,1.25)
yy=c(-0.25,0.25,0.75,1.25)
V0=rbind(c(0,0),c(1,0),c(1,1),c(0,1))
Tr0=rbind(c(1,2,3),c(1,3,4))
inVT(V0,Tr0,xx,yy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.