Learn R Programming

spatstat.geom (version 3.3-2)

intersect.boxx: Intersection Of Boxes Of Arbitrary Dimension

Description

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

Usage

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

Value

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

Arguments

...

Boxes (of class "boxx").

fatal

Logical. Determines what happens if the intersection is empty: If true

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk.

Details

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

See Also

intersect.owin, boxx

Examples

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

Run the code above in your browser using DataLab