Learn R Programming

pgs (version 0.4-0)

LLat2: Generator of 2D lattices of lines

Description

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

Usage

LLat2(delta=1,theta=0)

Arguments

delta
the distance between two neighbour lines. Default: 1.
theta
the angle defining the lines orientation. Default: 0 (horizontal lines).

Value

A FigLat-class object.

See Also

Generator FigLat, other generators of 2D figure lattices PPHexLat2, PPQcxLat2, PPRectLat2, QHexLat2, QQcxLat2, QRectLat2, SHexLat2, SQcxLat2, SRectLat2.

Examples

Run this code
# Unit lattice of horizontal lines
LLat2()
# Lattice of vertical lines
LLat2(0.5,pi/2)

Run the code above in your browser using DataLab