Learn R Programming

pgs (version 0.4-0)

SHexLat2: Generator of 2D hexagonal lattices of segments

Description

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

Usage

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

Run this code
SHexLat2(end=c(0.5,0.5))

Run the code above in your browser using DataLab