tile.list {deldir} | R Documentation |
For each point in the set being tessellated produces a list entry describing the Dirichlet/Voronoi tile containing that point.
tile.list(object)
object |
An object of class deldir as produced
by the function deldir() . |
A list with one entry for each of the points in the set being tesselated. Each entry is in turn a list with components
pt |
The coordinates of the point whose tile is being described. |
x |
The x coordinates of the vertices of the tile, in
anticlockwise order. |
y |
The y coordinates of the vertices of the tile, in
anticlockwise order. |
bp |
Vector of logicals indicating whether the tile vertex is a ``real'' vertex, or a boundary point, i.e. a point where the tile edge intersects the boundary of the enclosing rectangle |
The set of vertices of each tile may be ``incomplete''. Only vertices which lie within the enclosing rectangle, and ``boundary points'' are listed.
Note that the enclosing rectangle my be specified by the user
in the call to deldir()
.
Rolf Turner
deldir()
, plot.tile.list()
x <- runif(20) y <- runif(20) z <- deldir(x,y) w <- tile.list(z) z <- deldir(x,y,rw=c(0,1,0,1)) w <- tile.list(z) z <- deldir(x,y,rw=c(0,1,0,1),dpl=list(ndx=2,ndy=2)) w <- tile.list(z)