Learn R Programming

pgs (version 0.4-0)

QcxLat2: Generator of 2D quincunx lattices as VecLat objects

Description

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

Usage

QcxLat2(d=1,dx=sqrt(2)*d)

Arguments

d
the distance between two neighbour diagonal locations. Default: 1.
dx
the distance between two neighbour horizontal locations. Default value: quincunx inside a square.

Value

A VecLat-class object.

See Also

Generators VecLat, RectLat2, HexLat2.

Examples

Run this code
QcxLat2()
QcxLat2(d=2,dx=sqrt(2))

Run the code above in your browser using DataLab