is.rectangle

0th

Percentile

Determine Type of Window

Determine whether a window is a rectangle, a polygonal region, or a binary mask.

Keywords
manip, spatial
Usage
is.rectangle(w)
  is.polygonal(w)
  is.mask(w)
Arguments
w

Window to be inspected. An object of class "owin".

Details

These simple functions determine whether a window 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).

Value

Logical value, equal to TRUE if w is a window of the specified type.

See Also

owin

Aliases
  • is.rectangle
  • is.polygonal
  • is.mask
Documentation reproduced from package spatstat, version 1.61-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.