View source: R/lintessmakers.R
chop.linnet | R Documentation |
Given a linear network and a set of infinite lines, divide the network into tiles demarcated by the lines. The result is a tessellation of the network.
chop.linnet(X, L)
X |
Linear network (object of class |
L |
Infinite line or lines (object of class |
The first line of L
divides X
into two tiles.
Subsequent lines divide each of these tiles. The result is a
tessellation of X
. Tiles are not necessarily connected sets.
Tessellation on a linear network
(object of class "lintess"
).
.
crossing.linnet
to determine the crossing points
between the lines and the network.
divide.linnet
to divide a network into a tessellation
using arbitrary cut points.
L <- infline(p=runif(3), theta=runif(3, max=pi/2))
Y <- chop.linnet(simplenet, L)
plot(Y, main="")
plot(L, col="red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.