terrain
Portable raw-AHN snapshot contract shared by core and terrain.
covers_bounds(extents, bounds)
¶
Check rectangle union coverage by merging vertical intervals in each x strip.
Source code in packages/common/src/bag3d/common/terrain.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | |
padded_bounds(bounds, radius_m)
¶
Include interpolation neighbors and the source-transition warp buffer.
Source code in packages/common/src/bag3d/common/terrain.py
13 14 15 16 17 | |
terrain_snapshot(root, manifest=None)
¶
Verify the declared terrain catalog and files without modifying the snapshot.
Source code in packages/common/src/bag3d/common/terrain.py
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | |
validate_terrain_catalog(catalog, aoi=None)
¶
Apply the same metadata and coverage contract before publishing and reading.
Source code in packages/common/src/bag3d/common/terrain.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |