PPHexLat2: Generator of 2D hexagonal lattices of point patterns

Description Usage Arguments Value See Also Examples

View source: R/pgs.R

Description

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

Usage

1
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

1
2
3
PPHexLat2() # Unit hexagonal lattice of points
PPHexLat2(n=7)
PPHexLat2(n=7,hp=.4,h3=FALSE)

pgs documentation built on May 29, 2017, 5:30 p.m.