Companion

object Companion

Properties

Link copied to clipboard
const val TILE_POSTS: Int = 256

Fixed posts per pyramid tile (~128 KB array); detail comes from subdividing cells, not bigger tiles.

Functions

Link copied to clipboard

Walk rootDir once (name-only, no header reads) and build one coverage serving the finest level present per 1° cell (dt2 > dt1 > dt0) — no per-level composite. Null if rootDir holds no DTED; run off the main thread (directory I/O).

Link copied to clipboard
fun postsPerSide(level: Int): Int

Number of latitude posts per side for a given DTED level.

Link copied to clipboard
fun tilePosts(level: Int): ERROR CLASS: Unresolved name: minOf

TILE_POSTS, capped at the native count so coarse DTED levels aren't upsampled past their resolution.