public class BandedHeightMap extends AbstractHeightMap
name, seed| Constructor and Description | 
|---|
| BandedHeightMap(int segment1Length,
               double segment1EndHeight,
               int segment2Length,
               double segment2EndHeight,
               boolean smooth) | 
| BandedHeightMap(java.lang.String name,
               int segment1Length,
               double segment1EndHeight,
               int segment2Length,
               double segment2EndHeight,
               boolean smooth) | 
| Modifier and Type | Method and Description | 
|---|---|
| double | getHeight(float x0,
         float y0)Get the height of the height map at a particular location. | 
| javax.swing.Icon | getIcon()Get a 16x16 icon representing this height map. | 
| double[] | getRange()Get the range of this height map, i.e. | 
| double | getSegment1EndHeight() | 
| int | getSegment1Length() | 
| double | getSegment2EndHeight() | 
| int | getSegment2Length() | 
| boolean | isSmooth() | 
clone, getBaseHeight, getColour, getConstantValue, getExtent, getHeight, getName, getParent, getSeed, isConstant, setName, setSeedpublic BandedHeightMap(int segment1Length,
                       double segment1EndHeight,
                       int segment2Length,
                       double segment2EndHeight,
                       boolean smooth)
public BandedHeightMap(java.lang.String name,
                       int segment1Length,
                       double segment1EndHeight,
                       int segment2Length,
                       double segment2EndHeight,
                       boolean smooth)
public double getSegment1EndHeight()
public int getSegment1Length()
public int getSegment2Length()
public double getSegment2EndHeight()
public boolean isSmooth()
public double getHeight(float x0,
                        float y0)
HeightMapgetHeight in interface HeightMapgetHeight in class AbstractHeightMapx0 - The X coordinate of the location of which to get the height.y0 - The Y coordinate of the location of which to get the height.public javax.swing.Icon getIcon()
HeightMappublic double[] getRange()
HeightMapHeightMap.getBaseHeight()) and the upper bound in
 index 1.