public class ZOrderCurve3D extends java.lang.Object implements FillingCurve3D
Modifier and Type | Field and Description |
---|---|
static ZOrderCurve3D |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
long |
hash2i00(long hash)
Special case of
FillingCurve3D.hash2ijk(long) in which the discretized coordinate along
the vertical axis equals zero. |
long |
hash2ijk(long hash)
Transforms the given space filling curve index (or hash value) into
a single value from which it is straightforward to extract the
associated 3d-coordinates using methods
FillingCurve3D.ijk2i(long) , FillingCurve3D.ijk2j(long) and
FillingCurve3D.ijk2k(long) . |
long |
i002hash(int i)
Special case of
FillingCurve3D.ijk2hash(int, int, int) in which the discretized coordinate along
the vertical axis equals zero. |
long |
ijk2hash(int i,
int j,
int k)
Transforms coordinates in a discretized 2d-space into a space
filling curve index.
|
int |
ijk2i(long ijk)
Extract the discretized horizontal coordinates from the result of the method
FillingCurve3D.hash2ijk(long) . |
int |
ijk2j(long ijk)
Extract the discretized vertical coordinates from the result of the method
FillingCurve3D.hash2ijk(long) . |
int |
ijk2k(long ijk)
Extract the discretized depth coordinates from the result of the method
FillingCurve3D.hash2ijk(long) . |
public static final ZOrderCurve3D INSTANCE
public long ijk2hash(int i, int j, int k)
FillingCurve3D
ijk2hash
in interface FillingCurve3D
i
- discretized coordinate along the horizontal axisj
- discretized coordinate along the vertical axisk
- discretized coordinate along the depth axispublic long i002hash(int i)
FillingCurve3D
FillingCurve3D.ijk2hash(int, int, int)
in which the discretized coordinate along
the vertical axis equals zero.i002hash
in interface FillingCurve3D
i
- discretized coordinate along the horizontal axispublic long hash2ijk(long hash)
FillingCurve3D
FillingCurve3D.ijk2i(long)
, FillingCurve3D.ijk2j(long)
and
FillingCurve3D.ijk2k(long)
.hash2ijk
in interface FillingCurve3D
hash
- the space filling curve index (or hash value)FillingCurve3D.ijk2i(long)
, FillingCurve3D.ijk2j(long)
and
FillingCurve3D.ijk2k(long)
.public long hash2i00(long hash)
FillingCurve3D
FillingCurve3D.hash2ijk(long)
in which the discretized coordinate along
the vertical axis equals zero.hash2i00
in interface FillingCurve3D
hash
- the space filling curve index (or hash value)FillingCurve3D.ijk2i(long)
.public int ijk2i(long ijk)
FillingCurve3D
FillingCurve3D.hash2ijk(long)
.ijk2i
in interface FillingCurve3D
ijk
- result of the method FillingCurve3D.hash2ijk(long)
ijk
public int ijk2j(long ijk)
FillingCurve3D
FillingCurve3D.hash2ijk(long)
.ijk2j
in interface FillingCurve3D
ijk
- result of the method FillingCurve3D.hash2ijk(long)
ijk
public int ijk2k(long ijk)
FillingCurve3D
FillingCurve3D.hash2ijk(long)
.ijk2k
in interface FillingCurve3D
ijk
- result of the method FillingCurve3D.hash2ijk(long)
ijk
Copyright © 2018 F.-X. Pineau, CDS, Observatoire Astronomique de Strasbourg, Universite de Strasbourg, CNRS. All Rights Reserved.