Checks if some points belong to a given mesh
Checks if some points belong to a given mesh
are_in.mesh(X, mesh)
X |
points to check |
mesh |
mesh identifying the set which X may belong |
X = matrix(runif(100),ncol=2); inside = are_in.mesh(X,mesh=geometry::delaunayn(matrix(c(0,0,1,1,0,0),ncol=2),output.options =TRUE)) print(inside) plot(X,col=rgb(1-inside,0,0+inside))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.