SQcxLat2 {pgs}R Documentation

Generator of 2D quincunx lattices of line segments

Description

Create a FigLat-class object representing a planar quincunx lattice of line segments.

Usage

SQcxLat2(d=1,dx=sqrt(2)*d,end=c(dx/5,0))

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.
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(dx/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, SHexLat2, SRectLat2, LLat2.

Examples

SQcxLat2(1,sqrt(2),end=c(1/5,0))
plot(SQcxLat2(1,sqrt(2),end=c(1/5,0)),xlim=c(0,5),ylim=c(0,5))

[Package pgs version 0.2-0 Index]