expandedForTerrain

fun GeoBounds.expandedForTerrain(ratio: Double = 0.15, minPadMeters: Double): GeoBounds(source)

Pads each side by max(minPadMeters, ratio × the box's size) and snaps outward to z10 tile edges, so small moves of the mesh give the same area and nothing is downloaded again.