gridpts(poly,npts,xs,ys)
Either npts or xs and ys must be specified. If all three
are given then xs and ys are ignored.
npts
is specified, then a grid spacing xs and ys will be calculated to give
approximately npts in the polygon. If xs and ys are given then these
will be used to generate a number of points in the polygon.