public class MandelbrotHeightMap extends AbstractHeightMap
name, seed
Constructor and Description |
---|
MandelbrotHeightMap() |
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.
|
clone, getBaseHeight, getColour, getConstantValue, getExtent, getHeight, getName, getParent, getSeed, isConstant, setName, setSeed
public double getHeight(float x0, float y0)
HeightMap
getHeight
in interface HeightMap
getHeight
in class AbstractHeightMap
x0
- 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()
HeightMap
public double[] getRange()
HeightMap
HeightMap.getBaseHeight()
) and the upper bound in
index 1.