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.
- A window (object of class
"owin") or tessellation (object of class
"tess") to be subdivided by lines.
- A set of infinite straight lines (object of class
L should be a set of infinite straight lines in the plane
(stored in an object
L of class
"infline" created by the
X is a window, then it is divided into tiles
delineated by the lines in
X is a tessellation, then each tile of
subdivided into sub-tiles delineated by the lines in
The result is a tessellation.
- A tessellation (object of class
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.
L <- infline(p=1:3, theta=pi/4) W <- square(4) chop.tess(W, L)