is.rectangle(w) is.polygonal(w) is.mask(w)"owin".
TRUE if w is a window
of the specified type.
w
(object of class "owin") is
a rectangle (is.rectangle(w) = TRUE),
a domain with polygonal boundary (is.polygonal(w) = TRUE),
or
a binary pixel mask (is.mask(w) = TRUE).
owin