Registry / Library

library · v0.1.0
GeoBounds
Find a projected planar extent from paired point coordinates.
Use GeoBounds
use vendor::geobounds::geobounds;
Run the example
nest demo geobounds@0.1.0
blyxc native-run geobounds-demo/main.blyx
Example source and expected output
use vendor::geobounds::geobounds;
fn main() {
let east = [-2, 5, 1];
let north = [4, -1, 3];
let result = geobounds_extent(east, north);
if len(result) == 0 { println!("invalid"); return; }
let mut i = 0;
while i < len(result) {
println!(at(result, i));
i += 1;
}
}
Expected output
-2
-1
5
4
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.0 | Download ZIP | cbb96386d2 | 0b4534daeeebd64d4a959c9e123bda61d3a8339a81276f42f7ca47048bb60708 |