@Override
    public void read(JmeImporter im) throws IOException {
        InputCapsule ic = im.getCapsule(this);
        hdata = ic.readFloatArray("hdataarray", null);
        if (hdata == null) {
            FloatBuffer buf = ic.readFloatBuffer("hdata", null);
            if (buf != null) {
                hdata = new float[buf.limit()];
                buf.get(hdata);
            }
        }
        width = ic.readInt("width", 0);
        height = ic.readInt("height", 0);
        maxval = ic.readInt("maxval", 0);
    }
Creates a vertex array from the height data in this Geomap

The scale argument specifies the scale to use for the vertex buffer.
For example, if scale is 10,1,10, then the greatest X value is getWidth()*10

@param store A preallocated FloatBuffer where to store the data (optional), 
size must be &gt;= getWidth()*getHeight()*3
@param scale Created vertexes are scaled by this vector

@return store, or a new FloatBuffer if store is null

@throws NullPointerException If isLoaded() is false
jme3-terrain/src/main/java/com/jme3/terrain/GeoMap.java