SHexLat2: Generator of 2D hexagonal lattices of segments

Description Usage Arguments Value See Also Examples

View source: R/pgs.R

Description

Create a FigLat-class object representing an hexagonal lattice of segments in the plane.

Usage

1
SHexLat2(delta=sqrt(2/sqrt(3)),end=c(delta/5,0))

Arguments

delta

the distance between homologous points in two neighbour segments. Default: sqrt(2/sqrt(3)) (unit lattice).

end

a vector containing the Cartesian coordinates of the segment end point (the other end point is supposed to lie at the origin). Default: c(delta/5,0).

Value

A FigLat-class object.

See Also

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

Examples

1
SHexLat2(end=c(0.5,0.5))

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