Subdivide a Window or Tessellation using a Set of Lines
Divide a given window into tiles delineated by a set of infinite straight lines, obtaining a tessellation of the window. Alternatively, given a tessellation, divide each tile of the tessellation into sub-tiles delineated by the lines.
chop.tess(X, L)
X |
A window (object of class |
L |
A set of infinite straight lines (object of class |
The argument L
should be a set of infinite straight lines in the plane
(stored in an object L
of class "infline"
created by the
function infline
).
If X
is a window, then it is divided into tiles
delineated by the lines in L
.
If X
is a tessellation, then each tile of X
is
subdivided into sub-tiles delineated by the lines in L
.
The result is a tessellation.
A tessellation (object of class "tess"
).
If X
is a non-convex window, or a tessellation containing
non-convex tiles, then chop.tess(X,L)
may contain a tile
which consists of several unconnected pieces.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au
and Rolf Turner r.turner@auckland.ac.nz
L <- infline(p=1:3, theta=pi/4) W <- square(4) chop.tess(W, L)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.