Learn R Programming

pgs (version 0.4-0)

HexLat2: Generator of 2D hexagonal lattices as VecLat objects

Description

Create an object of class "VecLat" representing a planar hexagonal vector lattice.

Usage

HexLat2(det=1)

Arguments

det
the area of a fundamental tile of the hexagonal lattice. Default: 1.

Value

A VecLat-class object.

See Also

Generators VecLat, RectLat2, QcxLat2.

Examples

Run this code
HexLat2()
HexLat2(sqrt(3)/8)

Run the code above in your browser using DataLab