Reads an unsigned point, returns (x, y).
(f, base_point: mi.Point, packed: bool = True)
| 312 | |
| 313 | |
| 314 | def read_point(f, base_point: mi.Point, packed: bool = True) -> mi.Point: |
| 315 | """Reads an unsigned point, returns (x, y).""" |
| 316 | u = read_varuint(f) if packed else read_uint(f, 8) |
| 317 | return mwm_decode_delta(u, base_point) |
| 318 | |
| 319 | |
| 320 | def to_4326(coord_size: int, point: mi.Point) -> mi.Point: |
no test coverage detected