public final class NoiseHeightMap extends AbstractHeightMap
name, seed| Constructor and Description | 
|---|
| NoiseHeightMap(double height,
              double scale,
              int octaves) | 
| NoiseHeightMap(double height,
              double scale,
              int octaves,
              long seedOffset) | 
| NoiseHeightMap(NoiseSettings noiseSettings) | 
| NoiseHeightMap(NoiseSettings noiseSettings,
              long seedOffset) | 
| NoiseHeightMap(java.lang.String name,
              double height,
              double scale,
              int octaves) | 
| NoiseHeightMap(java.lang.String name,
              double height,
              double scale,
              int octaves,
              long seedOffset) | 
| NoiseHeightMap(java.lang.String name,
              NoiseSettings noiseSettings) | 
| NoiseHeightMap(java.lang.String name,
              NoiseSettings noiseSettings,
              long seedOffset) | 
| Modifier and Type | Method and Description | 
|---|---|
| NoiseHeightMap | clone()Create a deep copy of the height map. | 
| int | getColour(int x,
         int y)Get the colour of the height map at a particular location as a combined
 RGB value consisting of the red component in bits 16-23, the green
 component in bits 8-15, and the blue component in bits 0-7. | 
| double | getHeight() | 
| double | getHeight(float x,
         float y)Get the height of the height map at a particular location. | 
| double | getHeight(int x,
         int y)Get the height of the height map at a particular location. | 
| javax.swing.Icon | getIcon()Get a 16x16 icon representing this height map. | 
| int | getOctaves() | 
| double[] | getRange()Get the range of this height map, i.e. | 
| double | getScale() | 
| long | getSeedOffset() | 
| double | getValue(double x) | 
| double | getValue(double x,
        double y) | 
| double | getValue(double x,
        double y,
        double z) | 
| void | setSeed(long seed)Set the seed of the height map. | 
getBaseHeight, getConstantValue, getExtent, getName, getParent, getSeed, isConstant, setNamepublic NoiseHeightMap(NoiseSettings noiseSettings)
public NoiseHeightMap(NoiseSettings noiseSettings, long seedOffset)
public NoiseHeightMap(java.lang.String name,
                      NoiseSettings noiseSettings)
public NoiseHeightMap(java.lang.String name,
                      NoiseSettings noiseSettings,
                      long seedOffset)
public NoiseHeightMap(double height,
                      double scale,
                      int octaves)
public NoiseHeightMap(double height,
                      double scale,
                      int octaves,
                      long seedOffset)
public NoiseHeightMap(java.lang.String name,
                      double height,
                      double scale,
                      int octaves)
public NoiseHeightMap(java.lang.String name,
                      double height,
                      double scale,
                      int octaves,
                      long seedOffset)
public double getHeight()
public double getScale()
public int getOctaves()
public long getSeedOffset()
public void setSeed(long seed)
HeightMapsetSeed in interface HeightMapsetSeed in class AbstractHeightMapseed - The new seed of the height map.public double getHeight(int x,
                        int y)
HeightMapgetHeight in interface HeightMapgetHeight in class AbstractHeightMapx - The X coordinate of the location of which to get the height.y - The Y coordinate of the location of which to get the height.public double getHeight(float x,
                        float y)
HeightMapgetHeight in interface HeightMapgetHeight in class AbstractHeightMapx - The X coordinate of the location of which to get the height.y - The Y coordinate of the location of which to get the height.public int getColour(int x,
                     int y)
HeightMapgetColour in interface HeightMapgetColour in class AbstractHeightMapx - The X coordinate of the location of which to get the colour.y - The Y coordinate of the location of which to get the colour.public double getValue(double x)
public double getValue(double x,
                       double y)
public double getValue(double x,
                       double y,
                       double z)
public NoiseHeightMap clone()
HeightMapclone in interface HeightMapclone in class AbstractHeightMappublic javax.swing.Icon getIcon()
HeightMappublic double[] getRange()
HeightMapHeightMap.getBaseHeight()) and the upper bound in
 index 1.