ElevationImage

class ElevationImage(val array: ShortArray)

A decoded elevation tile (ShortArray, NW origin) plus min/max/missing stats computed once at construction, so height-limit queries that fully contain the tile skip the per-texel rescan. Missing posts are Short.MIN_VALUE and excluded from the min/max.

Constructors

Link copied to clipboard
constructor(array: ShortArray)

Properties

Link copied to clipboard
Link copied to clipboard

True if the tile has at least one valid (non-missing) post.

Link copied to clipboard

True if the tile has at least one missing post.

Link copied to clipboard

Highest valid elevation in the tile, or 0 if the tile has no valid posts.

Link copied to clipboard

Lowest valid elevation in the tile, or 0 if the tile has no valid posts.

Link copied to clipboard

Heap footprint charged to the coverage cache (2 bytes per post).