powered by
Converts a depthmapX "Ref" ID to the indices (x, y) of a cell, or the reverse
refIDtoIndex(refID)indexToRefID(i, j)
indexToRefID(i, j)
A pair of indices (x, y) or a Ref ID
The Ref ID
The x-axis index of the cell
The y-axis index of the cell
idx <- refIDtoIndex(852645) # outputs: # i j # 1 13 677 idx <- indexToRefID(13, 667) # outputs: # 852645
Run the code above in your browser using DataLab