R: Intersection Of Boxes Of Arbitrary Dimension

intersect.boxx {spatstat.geom} | R Documentation

## Intersection Of Boxes Of Arbitrary Dimension

### Description

Yields the intersection of boxes of arbitrary dimension (of class `"boxx"`).

### Usage

       intersect.boxx(..., fatal=FALSE)

### Arguments

`...` | Boxes (of class `"boxx"`).
`fatal` | Logical. Determines what happens if the intersection is empty: If true

### Details

If the intersection is empty, then if `fatal=FALSE` the result is `NULL`, while if `fatal=TRUE` an error occurs.

### Value

A box (object of class `"boxx"`) or possibly `NULL`.

### Author(s)

Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner r.turner@auckland.ac.nz and Ege Rubak rubak@math.aau.dk.

### See Also

`intersect.owin`, `boxx`

### Examples

    intersect.boxx(boxx(c(-1,1),c(0,2)), boxx(c(0,3),c(0,1)))

[Package spatstat.geom version 2.2-0 Index]