# NOT RUN {
data(mapTest) # simulated data
grid=genEmptyGrid(calStep(2000,1,1),1,1)
nbP= grid$nx*grid$ny
neighBool=matrix(logical(nbP^2),nbP,nbP)
resVoronoi=voronoiPolygons(mapTest$krigData,c(0,1,0,1),neighBool)
neighBool=resVoronoi$neighBool
listeNpt=ptNei(neighBool)
# }
Run the code above in your browser using DataLab