Learn R Programming

pgs (version 0.4-0)

PPHexLat2: Generator of 2D hexagonal lattices of point patterns

Description

Create a FigLat-class object representing a 2D hexagonal lattice of point patterns.

Usage

PPHexLat2(delta=sqrt(2/sqrt(3)), n=1, hp=delta/5, vp=hp, h3 = TRUE)

Arguments

delta
the distance between homologous points in two neighbour point patterns. Default : $sqrt(2/sqrt(3))$ (unit lattice).
n
the number of points in each point pattern. Valid values for n: 1, 4, 5, 6, 7, 8 or 9 (see PP2 documentation). Default: 1.
hp
the horizontal side length of the rectangle bounding the point pattern. Default: delta/5.
vp
the vertical side length of the rectangle bounding the point pattern. Default: hp (square bounding box for each point pattern).
h3
determines the orientation of the point pattern when n=6, 7 or 8, see PP2 documentation.

Value

A FigLat-class object.

See Also

Generators FigLat, PointPattern, PP2, HexLat2, other generators of 2D figure lattices PPQcxLat2, PPRectLat2, QHexLat2, QQcxLat2, QRectLat2, SHexLat2, SQcxLat2, SRectLat2, LLat2.

Examples

Run this code
PPHexLat2() # Unit hexagonal lattice of points
PPHexLat2(n=7)
PPHexLat2(n=7,hp=.4,h3=FALSE)

Run the code above in your browser using DataLab