Learn R Programming

spatstat (version 1.64-1)

intersect.lintess: Intersection of Tessellations on a Linear Network

Description

Yields the intersection (common refinement) of two tessellations on a linear network.

Usage

intersect.lintess(X, Y)

Arguments

X,Y

Tessellations (objects of class "lintess") on the same linear network.

Value

Another tessellation (object of class "lintess") on the same linear network as X and Y.

Details

X and Y should be tessellations defined on the same linear network.

Each tile in the resulting tessellation is the intersection of a tile of X with a tile of Y.

See Also

lintess, divide.linnet, chop.linnet

Examples

Run this code
# NOT RUN {
  X <- divide.linnet(runiflpp(4, simplenet))
  Y <- divide.linnet(runiflpp(3, simplenet))
  opa <- par(mfrow=c(1,3))
  plot(X)
  plot(Y)
  plot(intersect.lintess(X,Y))
  par(opa)
# }

Run the code above in your browser using DataLab