View source: R/lintessmakers.R
intersect.lintess | R Documentation |
Yields the intersection (common refinement) of two tessellations on a linear network.
intersect.lintess(X, Y)
X , Y |
Tessellations (objects of class |
X
and Y
should be tessellations on a linear network
(objects of class "lintess"
) and should be defined on the
same network. The algorithm finds the common refinement of the
two tessellations. Each tile in the resulting tessellation
is the intersection of a tile of X
with a tile of Y
.
Alternatively, one of the arguments X
or Y
can be a two-dimensional tessellation (object of class
"tess"
) while the other argument is a network or a tessellation
on a network. The two-dimensional tessellation will be intersected
with the network to produce a tessellation on the network, then
intersected with the other tessellation on the network.
Another tessellation (object of class "lintess"
)
on the same linear network as X
and Y
.
.
lintess
,
divide.linnet
,
chop.linnet
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.