The function works as follows:
First it creates a grid using the R function
expand.grid and then it uses the geoR'
internal function
.geoR_inout() which wraps usage of SpatialPoints
and over
from the package sp to extract the points
of the grid which are inside the polygon.