Class ScalableHeightMap
java.lang.Object
com.fastasyncworldedit.core.math.heightmap.ScalableHeightMap
- All Implemented Interfaces:
HeightMap
- Direct Known Subclasses:
ArrayHeightMap
,FlatScalableHeightMap
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScalableHeightMap
fromClipboard
(Clipboard clipboard, int minY, int maxY) static ScalableHeightMap
fromPNG
(InputStream stream) static ScalableHeightMap
fromShape
(ScalableHeightMap.Shape shape) double
getHeight
(int x, int z) void
setSize
(int size) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fastasyncworldedit.core.math.heightmap.HeightMap
applyHeightMapData, generateHeightData, perform
-
Field Details
-
size2
public int size2 -
size
public int size
-
-
Constructor Details
-
ScalableHeightMap
public ScalableHeightMap()New height map. "Normalised" to a min Y of zero.
-
-
Method Details
-
setSize
public void setSize(int size) -
getHeight
public double getHeight(int x, int z) -
fromShape
-
fromClipboard
-
fromPNG
- Throws:
IOException
-