unzoom-HilbertCurve-method: Transform zoomed positions to their original values

unzoom-HilbertCurve-methodR Documentation

Transform zoomed positions to their original values

Description

Transform zoomed positions to their original values

Usage

## S4 method for signature '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(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

hc = HilbertCurve(1, 2)
z = zoom(hc, 1.5)
unzoom(hc, z)

jokergoo/HilbertCurve documentation built on Oct. 11, 2024, 11:18 a.m.