hc_rect-HilbertCurve-method.Rd
Add rectangles on Hilbert curve
A HilbertCurve-class
object.
an IRanges
object which specifies the input intervals.
if start positions are not integers, they can be set by x1
.
if end positions are not integers, they can be set by x2
.
graphic parameters for rectangles. It should be specified by gpar
. Note you cannot set linejoin
and lineend
.
when a segment in the curve can not be overlapped with intervals in ir
, how to calculate the mean values for this segment. See explanation in hc_points,HilbertCurve-method
.
Rectangles are put if a segment in the Hilbert curve overlaps with the input intervals. You cannot set the width or height of the rectangles. It is always fixed (actually it is a square).
It can be thought as the low-resolution version of hc_layer,HilbertCurve-method
.
A data frame which contains coordinates (in the 2D space) of rectangles.