diamond.dualedges {diamonds} | R Documentation |
Creates x
and y
coordinates of edges of
the hexagon duals of a diamond partition, suitable for
lines
.
diamond.dualedges (b, d)
b |
list of coordinates of vertices of a diamond, as from
diamond.base |
d |
depth of recursion of partition; if d=1 ,
then no partition |
List with x
and y
components.
Denis White, white.denis@epa.gov
base <- diamond.base () diamond.plot (diamond.edges (base, 1)) lines (diamond.dualedges (base, 4), col="blue") lines (diamond.edges (base, 1), lwd=2, col="black") title ("Dual Hexagons at Level 4", line=0)