public class BicubicHeightMap extends DelegatingHeightMap
children, constant, constantColour, constantValue
name, seed
Constructor and Description |
---|
BicubicHeightMap(HeightMap baseHeightMap) |
BicubicHeightMap(HeightMap baseHeightMap,
boolean repeat) |
Modifier and Type | Method and Description |
---|---|
protected double |
doGetHeight(float x,
float y) |
protected double |
doGetHeight(int x,
int y) |
java.awt.Rectangle |
getExtent()
Get the extent of the height map, if any.
|
javax.swing.Icon |
getIcon()
Get a 16x16 icon representing this height map.
|
double[] |
getRange()
Get the range of this height map, i.e.
|
boolean |
isRepeat() |
childrenChanged, determineConstant, doGetColour, getColour, getConstantValue, getHeight, getHeight, getHeightMap, getHeightMap, getHeightMapCount, getIndex, getIndex, getRole, getSeed, isConstant, readResolve, recalculateConstantValue, replace, replace, setHeightMap, setHeightMap, setSeed
clone, getBaseHeight, getName, getParent, setName
public BicubicHeightMap(HeightMap baseHeightMap)
public BicubicHeightMap(HeightMap baseHeightMap, boolean repeat)
public boolean isRepeat()
protected double doGetHeight(int x, int y)
doGetHeight
in class DelegatingHeightMap
protected double doGetHeight(float x, float y)
doGetHeight
in class DelegatingHeightMap
public java.awt.Rectangle getExtent()
HeightMap
null
.getExtent
in interface HeightMap
getExtent
in class AbstractHeightMap
null
if it is
unbounded.public javax.swing.Icon getIcon()
HeightMap
public double[] getRange()
HeightMap
HeightMap.getBaseHeight()
) and the upper bound in
index 1.