SRectLat2: Generator of 2D rectangular lattices of segments

Description Usage Arguments Value See Also Examples

View source: R/pgs.R

Description

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

Usage

1
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

1
SRectLat2(hl=1,end=c(0.5,0.5))

Example output

Loading required package: gsl
Loading required package: R2Cuba
An object of class "FigLat"
Slot "vlat":
An object of class "VecLat"
Slot "dimspace":
[1] 2

Slot "dimsupp":
[1] 2

Slot "gmat":
     [,1] [,2]
[1,]    1    0
[2,]    0    1

Slot "gmat0":
     [,1] [,2]
[1,]    1    0
[2,]    0    1

Slot "det":
[1] 1


Slot "fig":
An object of class "Segment"
Slot "dimspace":
[1] 2

Slot "coord":
     [,1]
[1,]  0.5
[2,]  0.5


Slot "lmat":
     [,1]
[1,]    0
[2,]    0

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