public int getTotalSize() {
        return totalSize;
    }
Returns the total size of the terrain.

@return The terrain's total size.
jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainPatch.java