SQcxLat2: Generator of 2D quincunx lattices of line segments

Description Usage Arguments Value See Also Examples

View source: R/pgs.R

Description

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

Usage

1
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

1
2
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))

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