protected boolean isPointOnTerrain(int x, int z) {
        return (x >= 0 && x <= totalSize && z >= 0 && z <= totalSize);
    }
gets an interpolated value at the specified point
jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainQuad.java