Uses of Interface
squidpony.squidmath.IPointHash

Packages that use IPointHash 
Package Description
squidpony.squidmath
A very broad package containing random number generators, geometry tools, data structures, and noise functions.
  • Uses of IPointHash in squidpony.squidmath

    Subinterfaces of IPointHash in squidpony.squidmath 
    Modifier and Type Interface Description
    interface  FlawedPointHash
    An interface for point hashes that are statistically biased, as well as a holder for inner classes that implement this.
    Classes in squidpony.squidmath that implement IPointHash 
    Modifier and Type Class Description
    static class  FlawedPointHash.CubeHash
    Very similar to FlawedPointHash.QuiltHash, but this doesn't change the pattern in different large squares, and instead repeats a square or cube of symmetric and patterned results over and over (so it can be tiled).
    static class  FlawedPointHash.FNVHash
    FNV32a is OK as a hash for bytes when used in some hash tables, but it has major issues on its low-order bits when used as a point hash (the high bits aren't much better).
    static class  FlawedPointHash.QuiltHash
    Extremely flawed if you're using this as a point hash, but meant to be aesthetically interesting, this produces different symmetrical patterns in squares, as if on a quilt.
    static class  FlawedPointHash.RugHash
    Produces hashes that show strong bias on one axis (usually the later axes matter more) and have nice-looking patterns of dots.
    class  GoldPointHash
    A relatively simple IPointHash that multiplies each of the x, y, etc.
    class  HastyPointHash
    A group of similar methods for getting hashes of points based on long coordinates in 2, 3, 4, or 6 dimensions and a long for state; like PointHash but faster and maybe not as high-quality.
    class  IntPointHash
    A group of similar methods for getting hashes of points based on int coordinates in 2, 3, 4, or 6 dimensions and an int for state; the code is similar to HastyPointHash but will be much faster on GWT.
    static class  IPointHash.IntImpl
    A convenience abstract class to implement IPointHash when you have an int for state.
    static class  IPointHash.LongImpl
    A convenience abstract class to implement IPointHash when you have a long for state.
    class  PointHash
    A group of similar methods for getting hashes of points based on long coordinates in 2, 3, 4, or 6 dimensions and a long for state.
    Methods in squidpony.squidmath with parameters of type IPointHash 
    Modifier and Type Method Description
    void FastNoise.setPointHash​(IPointHash hash)