Learn R Programming

pgs (version 0.4-0)

SRectLat2: Generator of 2D rectangular lattices of segments

Description

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

Usage

SRectLat2(hl=1,vl=hl,end=c(hl/5,0))

Arguments

hl
the horizontal distance between homologous points in two neighbour segments. Default : 1.
vl
the vertical distance between homologous points in two neighbour segments. Default: hl (square 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(hl/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, SQcxLat2, LLat2.

Examples

Run this code
SRectLat2(hl=1,end=c(0.5,0.5))

Run the code above in your browser using DataLab