This command creates a window object
representing a disc, with the given radius and centre.
By default, the circle is
approximated by a polygon with npoly
edges.
If mask=TRUE
, then the disc is approximated by a binary pixel
mask. The resolution of the mask is controlled by
the arguments ...
which are passed to as.mask
.
The argument radius
must be a single positive number.
The argument centre
specifies the disc centre: it can be either
a numeric vector of length 2 giving the coordinates,
or a list(x,y)
giving the coordinates of exactly one point, or a
point pattern (object of class "ppp"
) containing exactly one
point.
If the argument metric
is given, it should be a distance metric
(object of class "metric"
). The disc with respect to this
metric will be computed.