protected void addFault(float[][] tempBuffer, Random random) {
        float faultHeight = minFaultHeight + random.nextFloat() * (maxFaultHeight - minFaultHeight);
        float range = minRange + random.nextFloat() * (maxRange - minRange);
        switch (faultShape) {
            case FAULTSHAPE_LINE:
                addLineFault(tempBuffer, random, faultHeight, range);
                break;
            case FAULTSHAPE_CIRCLE:
                addCircleFault(tempBuffer, random, faultHeight, range);
                break;
        }
    }
Create a heightmap with linear step faults.
@param size size of heightmap
@param iterations number of iterations
@param minFaultHeight Height modified on each side
@param maxFaultHeight Height modified on each side
jme3-terrain/src/main/java/com/jme3/terrain/heightmap/FaultHeightMap.java