Transform zoomed positions to their original values

# S4 method for HilbertCurve
unzoom(object, x)

Arguments

object

A HilbertCurve-class object.

x

positions.

Details

This is a reverse function of zoom,HilbertCurve-method.

The function is used internally.

Value

A numeric vector of original positions.

Author

Zuguang Gu <z.gu@dkfz.de>

Examples

hc = HilbertCurve(1, 2)

z = zoom(hc, 1.5)
unzoom(hc, z)
#> [1] 1.5