Spatial
spatial
Helper functions for dealing with various spatial things
Provides space related utilities like z-order curves and quadtrees.
module spatial
cantorPair(
v: int2
) -> int
cantorUnpair(
v: int
) -> int2
hilbertRotate(
n: int,b: int2,r: int2
) -> int2
hilbertUncurve(
n: int,v: int2
) -> int
hilbertCurve(
n: int,v: int
) -> int2
mortonDecode(
p: uint
) -> uint2
mortonEncode(
p: uint2
) -> uint
clone(
) -> spatial