This function generates a quasirandom point pattern,
using the quasirandom sequence generator
Halton
or Hammersley
as specified.
If W
is a rectangle,
exactly n
points will be generated.
If W
is not a rectangle, n
points will be generated in the
containing rectangle as.rectangle(W)
,
and only the points lying inside W
will be retained.